summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-usb-gpio.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2019-04-24 21:53:18 +0300
committerChristoph Hellwig <hch@lst.de>2019-04-25 17:51:39 +0300
commit1007709d7d06fab09bf2d007657575958676282b (patch)
tree38da90bb87de55fa103ea5c8bbe953a6dd45c172 /drivers/extcon/extcon-usb-gpio.c
parent7a42589654ae79e1177f0d74306a02d6cef7bddf (diff)
downloadlinux-1007709d7d06fab09bf2d007657575958676282b.tar.xz
nvme-rdma: 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: 4c174e636674 ("nvme-rdma: fix timeout handler") Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/extcon/extcon-usb-gpio.c')
0 files changed, 0 insertions, 0 deletions