]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Disable local BHes to prevent a dead-lock situation
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 24 Nov 2010 03:45:10 +0000 (03:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2010 19:08:13 +0000 (11:08 -0800)
commit0a479e1a7b4af85410b245d0b0cbfbd85e0860e9
treeedcae49b857172ad2af0ba721d99d715e8f694e7
parentf0d509776afd79404986e64b5bb6fda53a9d4261
bnx2x: Disable local BHes to prevent a dead-lock situation

According to Eric's suggestion:
Disable local BHes to prevent a dead-lock situation between sch_direct_xmit()
(Soft_IRQ context) and bnx2x_tx_int (called by bnx2x_run_loopback() - syscall
context), as both are taking a netif_tx_lock().

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_ethtool.c