summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/multipath.c
diff options
context:
space:
mode:
authorMax Gurtovoy <maxg@mellanox.com>2019-10-29 15:42:27 +0100
committerKeith Busch <kbusch@kernel.org>2019-11-05 16:29:23 +0100
commit9ad9e8d6ca29c1446d81c6518ae634a2141dfd22 (patch)
tree67946f38c080349786fd895bee42dbf46ab84cc4 /drivers/nvme/host/multipath.c
parentiocost: don't nest spin_lock_irq in ioc_weight_write() (diff)
downloadlinux-9ad9e8d6ca29c1446d81c6518ae634a2141dfd22.tar.xz
linux-9ad9e8d6ca29c1446d81c6518ae634a2141dfd22.zip
nvme-rdma: fix a segmentation fault during module unload
In case there are controllers that are not associated with any RDMA device (e.g. during unsuccessful reconnection) and the user will unload the module, these controllers will not be freed and will access already freed memory. The same logic appears in other fabric drivers as well. Fixes: 87fd125344d6 ("nvme-rdma: remove redundant reference between ib_device and tagset") Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions