]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 24 Sep 2021 09:58:39 +0000 (11:58 +0200)
commit4818f29758e2d66bfcdfb3ac8ffc8bf234139937
treed6c579a6401a73fddcbef26ff397edcfa56d3125
parentfc806a3d79518ef1980e3f0f3592a8adb0f07ac7
qed: qed ll2 race condition fixes

BugLink: https://bugs.launchpad.net/bugs/1944610
[ Upstream commit 37110237f31105d679fc0aa7b11cdec867750ea7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/qlogic/qed/qed_ll2.c