diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2016-09-23 04:58:17 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-23 04:58:17 +0300 |
commit | 3b4ac78610690bd83fb33762ef97e8b8a89285ae (patch) | |
tree | 5b0c18a8f3a68bc4223b080460a8b2e600a40cc8 /block/blk-mq.c | |
parent | 164c80ed84a7669114869d9347c0f3ea7f56ea89 (diff) | |
download | linux-3b4ac78610690bd83fb33762ef97e8b8a89285ae.tar.xz |
nvme-rdma: only clear queue flags after successful connect
Otherwise, nvme_rdma_stop_and_clear_queue() will incorrectly
try to stop/free rdma qps/cm_ids that are already freed.
Fixes: e89ca58f9c90 ("nvme-rdma: add DELETING queue flag")
Reported-by: Steve Wise <swise@opengridcomputing.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions