aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2025-02-25 01:13:30 +0000
committerKeith Busch <[email protected]>2025-02-25 17:09:18 +0000
commit00817f0f1c45b007965f5676b9a2013bb39c7228 (patch)
tree2b77d45e88ec9b47a2846b53adb13ab452b92bf7 /tools/testing/selftests/net/lib/py/utils.py
parentnvme-pci: skip CMB blocks incompatible with PCI P2P DMA (diff)
downloadkernel-00817f0f1c45b007965f5676b9a2013bb39c7228.tar.gz
kernel-00817f0f1c45b007965f5676b9a2013bb39c7228.zip
nvme-ioctl: fix leaked requests on mapping error
All the callers assume nvme_map_user_request() frees the request on a failure. This wasn't happening on invalid metadata or io_uring command flags, so we've been leaking those requests. Fixes: 23fd22e55b767b ("nvme: wire up fixed buffer support for nvme passthrough") Fixes: 7c2fd76048e95d ("nvme: fix metadata handling in nvme-passthrough") Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Kanchan Joshi <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions