commit | d344bff9c36db17dc4765215495aaa7212c1eb6c | [log] [tgz] |
---|---|---|
author | Dale Farnsworth <dale@farnsworth.org> | Tue Jan 23 09:52:25 2007 -0700 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Jan 23 16:28:53 2007 -0500 |
tree | 707848f6934b0a12be995a881e1aeaac04329e16 | |
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>