]> git.ipfire.org Git - thirdparty/linux.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)
commitd0d006a43e9a7a796f6f178839c92fcc222c564d
treef44e29fb12bad719be315c5dbc14ef8d3015448b
parentdebea2cd3193ac868289e8893c3a719c265b0612
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