]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4 : Disable recursive mailbox commands when enabling vi
authorAnish Bhatt <anish@chelsio.com>
Tue, 5 Aug 2014 23:05:23 +0000 (16:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Aug 2014 23:48:59 +0000 (16:48 -0700)
commit6ce4960f01bd129620b62d655c3c1c4df5ccfed3
treef158748e4c7e7d2e1c999b66152157c53b84a4ee
parentdc3134a3b9562c3479c1e60336b27e1a1ef145b1
cxgb4 : Disable recursive mailbox commands when enabling vi

Enabling a Virtual Interface can result in an interrupt during the processing
 of the VI Enable command and, in some paths, result in an attempt to issue
another command in the interrupt context, eventually crashing the system. Thus,
 we disable interrupts during the course of the VI Enable command and ensure
enable doesn't sleep.

Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c