]> 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)
commit5ce293a80d2ab29a5cbab7f3ce4219bc69650fc2
tree3dbeb4bd95e9403fc1a65f0c5d1d3c477762d10a
parent0d1cde02f7778f3ba351884991e4ac90a99a350b
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