]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-tcp: fix possible null deref on a timed out io queue connect
authorSagi Grimberg <sagi@grimberg.me>
Mon, 29 Apr 2019 23:25:48 +0000 (16:25 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 May 2019 13:17:15 +0000 (09:17 -0400)
commit26b761e69c2a475434c59d9ef2de8108e0d5c1aa
treed95adcdb665a4af0438de4bcc1e88b4d80c87360
parent7cbdbf64876f88e110f67fd679fa6f19a9b7091c
nvme-tcp: fix possible null deref on a timed out io queue connect

If I/O queue connect times out, we might have freed the queue socket
already, so check for that on the error path in nvme_tcp_start_queue.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/tcp.c