commit | 67b483dd03c4cd9e90e4c3943132dce514ea4e88 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Tue Sep 24 11:27:05 2019 -0700 |
committer | Sagi Grimberg <sagi@grimberg.me> | Fri Sep 27 10:24:53 2019 -0700 |
tree | 71f11ac206a3f3047eeb3b06ddb79dae8189dd47 | |
parent | f968688f44f529f96a64c9853fb2fb5d0a329aff [diff] |
nvme-rdma: fix possible use-after-free in connect timeout If the connect times out, we may have already destroyed the queue in the timeout handler, so test if the queue is still allocated in the connect error handler. Reported-by: Yi Zhang <yi.zhang@redhat.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>