diff options
author | Alexander Lobakin <alobakin@marvell.com> | 2020-06-23 16:51:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-23 15:01:16 -0700 |
commit | 31333c1a2521ff4b4ceb0c29de492549cd4a8de3 (patch) | |
tree | 0bd4d5a30794442e36d0d17cf0e452065053047c /sound/sh/Makefile | |
parent | 97dd1abd026ae4e6a82fa68645928404ad483409 (diff) | |
download | linux-stable-31333c1a2521ff4b4ceb0c29de492549cd4a8de3.tar.gz linux-stable-31333c1a2521ff4b4ceb0c29de492549cd4a8de3.tar.bz2 linux-stable-31333c1a2521ff4b4ceb0c29de492549cd4a8de3.zip |
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 <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 'sound/sh/Makefile')
0 files changed, 0 insertions, 0 deletions