From: Dale Farnsworth Date: Tue, 23 Jan 2007 16:52:25 +0000 (-0700) Subject: mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs X-Git-Tag: v2.6.20-rc6~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d344bff9c36db17dc4765215495aaa7212c1eb6c;p=pandora-kernel.git 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 and Jarek Poplawski . 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 --- Reading git-diff-tree failed