bnx2x: Adding FW mailbox mutex
DCC commands are not protected with the RTNL lock, so a mutex should be added Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f34d28ea01
commit
c4ff7cbf88
@@ -1023,6 +1023,9 @@ struct bnx2x {
|
||||
/* used to synchronize dmae accesses */
|
||||
struct mutex dmae_mutex;
|
||||
|
||||
/* used to protect the FW mail box */
|
||||
struct mutex fw_mb_mutex;
|
||||
|
||||
/* used to synchronize stats collecting */
|
||||
int stats_state;
|
||||
/* used by dmae command loader */
|
||||
|
Reference in New Issue
Block a user