]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: disable bh with spin_lock in be_process_mcc
authorDenis Kirjanov <kda@linux-powerpc.org>
Tue, 6 Aug 2019 10:51:11 +0000 (12:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Aug 2019 18:47:19 +0000 (11:47 -0700)
commit2a6a2a36395b43d8071a46f36dfa229e5ccfbdf3
treef44e29fb12bad719be315c5dbc14ef8d3015448b
parent0ed383b7fd72e6e8b1c00728f9dfe19d144cf9fa
be2net: disable bh with spin_lock in be_process_mcc

be_process_mcc() is invoked in 3 different places and
always with BHs disabled except the be_poll function
but since it's invoked from softirq with BHs
disabled it won't hurt.

v1->v2: added explanation to the patch
v2->v3: add a missing call from be_cmds.c

Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c