diff options
| author | Sagi Grimberg <sagi@grimberg.me> | 2019-04-24 11:53:18 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-31 06:46:15 -0700 |
| commit | 213e152316ed5bce7a6cd2dc4f0e409c2d181e68 (patch) | |
| tree | 8e4ebeb978860b76746c68d3b3ba4e2a1bdc611a /kernel/debug/debug_core.h | |
| parent | c24860f40b664b1a8228ce5a33aef1e0d53fb70f (diff) | |
nvme-rdma: fix a NULL deref when an admin connect times out
[ Upstream commit 1007709d7d06fab09bf2d007657575958676282b ]
If we timeout the admin startup sequence we might not yet have
an I/O tagset allocated which causes the teardown sequence to crash.
Make nvme_tcp_teardown_io_queues safe by not iterating inflight tags
if the tagset wasn't allocated.
Fixes: 4c174e636674 ("nvme-rdma: fix timeout handler")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/debug/debug_core.h')
0 files changed, 0 insertions, 0 deletions
