summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-17 11:58:11 +0000
committerPaolo Abeni <pabeni@redhat.com>2026-09-22 15:54:42 +0200
commit17741334d00bf5ebd37f8c1c36bc9c146a351deb (patch)
tree9bc50fb20de848a9ce2b14c5694fc192ced9638c /tools/perf/scripts/python
parent9892d71cf0ce3ff3d4fed2d9a3968fd4feb1c918 (diff)
downloadlinux-17741334d00bf5ebd37f8c1c36bc9c146a351deb.tar.gz
linux-17741334d00bf5ebd37f8c1c36bc9c146a351deb.zip
net: usb: lan78xx: Fix URB reference leak in lan78xx_submit_deferred_urbs()
usb_get_from_anchor() hands over a reference to the URB, which the caller must release. lan78xx_submit_deferred_urbs() never does, so every deferred Tx URB keeps an extra reference: the counter grows on each suspend/resume cycle and the URBs are never freed when the buffers are released. Drop the reference after submitting, and on the path that drops the packet instead of submitting it. Fixes: 5f4cc6e25148 ("lan78xx: Fix race conditions in suspend/resume handling") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Link: https://patch.msgid.link/20260917115811.2150119-1-vulab@iscas.ac.cn Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions