diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2007-01-23 11:52:25 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-01-23 16:28:53 -0500 |
commit | d344bff9c36db17dc4765215495aaa7212c1eb6c (patch) | |
tree | 707848f6934b0a12be995a881e1aeaac04329e16 /drivers/mtd/nand/nand_ecc.c | |
parent | 3196265e97c661d9e9be04d5d64ca8ff3186536d (diff) |
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/nand/nand_ecc.c')
0 files changed, 0 insertions, 0 deletions