diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2019-04-24 21:53:17 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-04-25 17:51:37 +0300 |
commit | 7a42589654ae79e1177f0d74306a02d6cef7bddf (patch) | |
tree | c556c34ee4aa676beacbff402f7e11ecf54f7cfb /mm/msync.c | |
parent | 569b3d3db1aac8586a16df1745c9e5a99ff47253 (diff) | |
download | linux-7a42589654ae79e1177f0d74306a02d6cef7bddf.tar.xz |
nvme-tcp: fix a NULL deref when an admin connect times out
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: 39d57757467b ("nvme-tcp: fix timeout handler")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions