]> err.no Git - linux-2.6/commit
mv643xx_eth: mp->tx_desc_count needs spinlock protection
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 18 Mar 2008 18:32:41 +0000 (11:32 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 00:06:48 +0000 (20:06 -0400)
commit4d64e718b46f4eedaf0379e0150de4d28b06b916
treec4611a3fcd3011327dda08e8069bf2df38e21ea0
parentdd9e0dda66ba38a2ddd1405ac279894260dc5c36
mv643xx_eth: mp->tx_desc_count needs spinlock protection

mv643xx_eth_start_xmit() should check mp->tx_desc_count only
inside the mp->lock spinlock.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Reviewed-by: Tzachi Perelstein <tzachi@marvell.com>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
drivers/net/mv643xx_eth.c