summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorSang-Hoon Choi <csh0052@gmail.com>2026-09-30 16:08:58 +0900
committerKeith Busch <kbusch@kernel.org>2026-10-03 01:57:04 -0700
commit4aa9c0f377a4de5e8fddce76b34ee4529639a1ff (patch)
treea693cdd953e928b7d58bfb96ba010295f5795a5c /tools/lib/python/kdoc/python_version.py
parentb3ce7572130f7bdc71581d798df3fbfc3b64e7a5 (diff)
downloadlinux-next-4aa9c0f377a4de5e8fddce76b34ee4529639a1ff.tar.gz
linux-next-4aa9c0f377a4de5e8fddce76b34ee4529639a1ff.zip
nvmet: use the local P2P device on metadata allocation failure
nvmet_req_alloc_p2pmem_sgls() assigns req->p2p_dev only after the data and metadata SGL allocations succeed. If the data allocation succeeds but the metadata allocation fails, out_free_sg passes req->p2p_dev to pci_p2pmem_free_sgl() before that assignment has taken place. Pass the local p2p_dev argument instead, so cleanup uses the same PCI device as the successful data allocation. Fixes: bcd9a0797d73 ("nvmet: fix freeing unallocated p2pmem") Reported-by: Changyul Lee <lcy8047@gmail.com> Reviewed-by: Maurizio Lombardi <mlombard@redhat.com> Signed-off-by: Sang-Hoon Choi <csh0052@gmail.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions