]> git.baikalelectronics.ru Git - kernel.git/commit
qed: qed ll2 race condition fixes
authorShai Malin <smalin@marvell.com>
Sun, 15 Aug 2021 11:05:08 +0000 (14:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Aug 2021 10:22:57 +0000 (11:22 +0100)
commit37110237f31105d679fc0aa7b11cdec867750ea7
tree3dbeb4bd95e9403fc1a65f0c5d1d3c477762d10a
parent7387a72c5f84f0dfb57618f9e4770672c0d2e4c9
qed: qed ll2 race condition fixes

Avoiding qed ll2 race condition and NULL pointer dereference as part
of the remove and recovery flows.

Changes form V1:
- Change (!p_rx->set_prod_addr).
- qed_ll2.c checkpatch fixes.

Change from V2:
- Revert "qed_ll2.c checkpatch fixes".

Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_ll2.c