aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2021-03-15 21:08:11 +0000
committerChristoph Hellwig <[email protected]>2021-03-18 04:39:01 +0000
commitfd0823f405090f9f410fc3e3ff7efb52e7b486fa (patch)
treef1449dc8e8b3931ecc45327c6942d7f1c683e2d9 /drivers/usb/cdns3/cdns3-plat.c
parentnvme: fix Write Zeroes limitations (diff)
downloadkernel-fd0823f405090f9f410fc3e3ff7efb52e7b486fa.tar.gz
kernel-fd0823f405090f9f410fc3e3ff7efb52e7b486fa.zip
nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
When the controller sends us a 0-length r2t PDU we should not attempt to try to set up a h2cdata PDU but rather conclude that this is a buggy controller (forward progress is not possible) and simply fail it immediately. Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver") Reported-by: Belanger, Martin <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions