aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/brocade/bna/bnad_ethtool.c
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2011-08-30 15:27:45 +0000
committerDavid S. Miller <davem@davemloft.net>2011-09-15 15:36:33 -0400
commitdfee325ad23ff4714981c9d2a4df6386493a4475 (patch)
tree744b2abe6cde55f5049f8eafe75c3bfa93dd2f82 /drivers/net/ethernet/brocade/bna/bnad_ethtool.c
parentbna: Async Mode Tx Rx Init Fix (diff)
downloadlinux-dev-dfee325ad23ff4714981c9d2a4df6386493a4475.tar.xz
linux-dev-dfee325ad23ff4714981c9d2a4df6386493a4475.zip
bna: MBOX IRQ Flag Check after Locking
Change details: - Check the BNAD_RF_MBOX_IRQ_DISABLED flag after acquiring the bna_lock, since checking the flag and executing bna_mbox_handler needs to be atomic. If not, it opens up window where flag is reset when it was checked, but got set while spinning on the lock by the other thread which is actually holding the lock Signed-off-by: Gurunatha Karaje <gkaraje@brocade.com> Signed-off-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions