Searched hist:fa14a0acea1ffe67913ba384a2897130a36dfe03 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/nvme/target/ |
H A D | rdma.c | diff fa14a0acea1ffe67913ba384a2897130a36dfe03 Tue Nov 01 11:36:46 CDT 2016 Bart Van Assche <bart.vanassche@sandisk.com> 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>
|