diff options
author | Alexander Lobakin <[email protected]> | 2020-06-23 16:51:30 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-23 15:01:16 -0700 |
commit | 31333c1a2521ff4b4ceb0c29de492549cd4a8de3 (patch) | |
tree | 0bd4d5a30794442e36d0d17cf0e452065053047c /lib/mpi/mpi-add.c | |
parent | 97dd1abd026ae4e6a82fa68645928404ad483409 (diff) |
net: qed: fix async event callbacks unregistering
qed_spq_unregister_async_cb() should be called before
qed_rdma_info_free() to avoid crash-spawning uses-after-free.
Instead of calling it from each subsystem exit code, do it in one place
on PF down.
Fixes: 291d57f67d24 ("qed: Fix rdma_info structure allocation")
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