diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2007-01-23 16:52:25 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-01-23 21:28:53 (GMT) |
commit | d344bff9c36db17dc4765215495aaa7212c1eb6c (patch) | |
tree | 707848f6934b0a12be995a881e1aeaac04329e16 /drivers/mtd/maps/ceiva.c | |
parent | 3196265e97c661d9e9be04d5d64ca8ff3186536d (diff) | |
download | linux-d344bff9c36db17dc4765215495aaa7212c1eb6c.tar.xz |
mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs
mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs
This bug was found and isolated by Thibaut VARENE <T-Bone@parisc-linux.org>
and Jarek Poplawski <jarkao2@o2.pl>. This patch is a modification of their
fixes. We acquire and release the lock for each descriptor that is freed
to minimize the time the lock is held.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/mtd/maps/ceiva.c')
0 files changed, 0 insertions, 0 deletions