aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-01-29 19:27:37 -0800
committerJakub Kicinski <kuba@kernel.org>2026-01-29 19:27:37 -0800
commit82deb2816ebbdc79083e2d76e0ef141a48aec69c (patch)
treeeeef3160b369071bf032827bda1be89cc01e9f37 /tools/perf/scripts/python/libxed.py
parentdpaa2-switch: prevent ZERO_SIZE_PTR dereference when num_ifs is zero (diff)
parentnet: liquidio: Fix off-by-one error in VF setup_nic_devices() cleanup (diff)
downloadlinux-82deb2816ebbdc79083e2d76e0ef141a48aec69c.tar.gz
linux-82deb2816ebbdc79083e2d76e0ef141a48aec69c.zip
Merge branch 'net-liquidio-fix-memory-leaks-in-setup_nic_devices'
Zilin Guan says: ==================== net: liquidio: Fix memory leaks in setup_nic_devices() This series fixes memory leaks in the initialization paths of the NIC devices. Patch 1 moves the initialization of oct->props[i].netdev before queue setup calls. This ensures that if queue setup fails, the cleanup function can find and free the allocated netdev. It also initializes lio->oct_dev early to prevent a crash in the cleanup path. Patch 2 fixes an off-by-one error in the PF cleanup loop. It ensures the current device index is cleaned up and correctly handles the post-loop devlink_alloc failure case. Patch 3 fixes the same off-by-one error in the VF cleanup loop. ==================== Link: https://patch.msgid.link/20260128154440.278369-1-zilin@seu.edu.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions