diff options
author | Alexander Lobakin <[email protected]> | 2020-06-23 16:51:31 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-23 15:01:16 -0700 |
commit | 4079c7f7a2a00ab403c177ce723b560de59139c3 (patch) | |
tree | 4cd8f609527873edf67c1aa8287561693a9b8728 /lib/mpi/mpi-add.c | |
parent | 31333c1a2521ff4b4ceb0c29de492549cd4a8de3 (diff) |
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 <[email protected]>
Signed-off-by: Igor Russkikh <[email protected]>
Signed-off-by: Michal Kalderon <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions