summaryrefslogtreecommitdiff
path: root/net/mac80211/driver-ops.c
diff options
context:
space:
mode:
authorIsrael Rukshin <israelr@mellanox.com>2018-03-14 13:22:45 +0300
committerJens Axboe <axboe@kernel.dk>2018-03-26 17:53:43 +0300
commite1a2ee249b19c3a65de893150d2045099c693bc3 (patch)
treee9d55dd34bbf893c1ee150a3c341fa8e20b154e5 /net/mac80211/driver-ops.c
parentbe9bddeb0a3ff017d9f56db99d67518c8a1b29cf (diff)
downloadlinux-e1a2ee249b19c3a65de893150d2045099c693bc3.tar.xz
nvmet-rdma: Fix use after free in nvmet_rdma_cm_handler()
We free nvmet rdma queues while handling rdma_cm events. In order to avoid this we destroy the qp and the queue after destroying the cm_id which guarantees that all rdma_cm events are done. Signed-off-by: Israel Rukshin <israelr@mellanox.com> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/mac80211/driver-ops.c')
0 files changed, 0 insertions, 0 deletions