aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/qlogic/qed/qed_vf.c
diff options
context:
space:
mode:
authorAlexander Lobakin <alobakin@marvell.com>2020-06-23 16:51:31 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-23 15:01:16 -0700
commit4079c7f7a2a00ab403c177ce723b560de59139c3 (patch)
tree4cd8f609527873edf67c1aa8287561693a9b8728 /drivers/net/ethernet/qlogic/qed/qed_vf.c
parentnet: qed: fix async event callbacks unregistering (diff)
downloadwireguard-linux-4079c7f7a2a00ab403c177ce723b560de59139c3.tar.xz
wireguard-linux-4079c7f7a2a00ab403c177ce723b560de59139c3.zip
net: qede: stop adding events on an already destroyed workqueue
Set rdma_wq pointer to NULL after destroying the workqueue and check for it when adding new events to fix crashes on driver unload. Fixes: cee9fbd8e2e9 ("qede: Add qedr framework") Signed-off-by: Alexander Lobakin <alobakin@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions