netdev: octeon_mgmt: Fix race manipulating irq bits.
commita0cfa850ac639759cd68a121920f3e474ce9dfb1
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 5 May 2010 13:03:10 +0000 (5 13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 04:22:34 +0000 (5 21:22 -0700)
tree7e825478bf38dcb06063e7b228eb24c479320823
parent4d30b8013b2d82138d6900965fe9fcd062f2d06d
netdev: octeon_mgmt: Fix race manipulating irq bits.

Don't re-read the interrupt status register, clear the exact bits we
will be testing.

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