From Dale Farnsworth <dale@xxxxxxxxxxxxxx>
mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs
This bug was found and isolated by Thibaut VARENE <T-Bone@xxxxxxxxxxxxxxxx>
and Jarek Poplawski <jarkao2@xxxxx>. 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.
---
drivers/net/mv643xx_eth.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)