Skip to content
Commit 67b483dd authored by Sagi Grimberg's avatar Sagi Grimberg
Browse files

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: default avatarYi Zhang <yi.zhang@redhat.com>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
parent f968688f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment