netdev: octeon_mgmt: Fix race condition freeing TX buffers.
commit4d30b8013b2d82138d6900965fe9fcd062f2d06d
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 5 May 2010 13:03:09 +0000 (5 13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 04:22:33 +0000 (5 21:22 -0700)
treea52d03c623016cd9a7716a2641c105e7def47b3f
parent62538d2490d071e822d85651445c8a0bb4ed5a4b
netdev: octeon_mgmt: Fix race condition freeing TX buffers.

Under heavy load the TX cleanup tasklet and xmit threads would race
and try to free too many buffers.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/octeon/octeon_mgmt.c