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)
commite1210d127d11fc40d229648c9754aa60776ef796
treeedcae49b857172ad2af0ba721d99d715e8f694e7
parent37a118452cbc9c0cf0d23bfd16d3ca56058be754
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