summaryrefslogtreecommitdiff
path: root/lib/fdt.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-11-01 16:36:46 (GMT)
committerSagi Grimberg <sagi@grimberg.me>2016-11-14 00:08:50 (GMT)
commitfa14a0acea1ffe67913ba384a2897130a36dfe03 (patch)
treeea33c1c7340d3f77d19820172d2906cf73b38c23 /lib/fdt.c
parenta25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6 (diff)
downloadlinux-fa14a0acea1ffe67913ba384a2897130a36dfe03.tar.xz
nvmet-rdma: Fix possible NULL deref when handling rdma cm events
When we initiate queue teardown sequence we call rdma_destroy_qp which clears cm_id->qp, afterwards we call rdma_destroy_id, but we might see a rdma_cm event in between with a cleared cm_id->qp so watch out for that and silently ignore the event because this means that the queue teardown sequence is in progress. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'lib/fdt.c')
0 files changed, 0 insertions, 0 deletions