summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2024-10-14 17:37:04 +0300
committerJakub Kicinski <kuba@kernel.org>2024-10-15 20:59:23 +0300
commit99714e37e8333bbc22496fe80f241d5b35380e83 (patch)
treefc981dc6a7eed83ea0b0b73a5f8e383b6d1fc722 /tools/perf/scripts/python/export-to-postgresql.py
parent56f51dfdff841bd07a31e86834283f4fee2f8c88 (diff)
downloadlinux-99714e37e8333bbc22496fe80f241d5b35380e83.tar.xz
net: xilinx: axienet: fix potential memory leak in axienet_start_xmit()
The axienet_start_xmit() returns NETDEV_TX_OK without freeing skb in case of dma_map_single() fails, add dev_kfree_skb_any() to fix it. Fixes: 71791dc8bdea ("net: axienet: Check for DMA mapping errors") Signed-off-by: Wang Hai <wanghai38@huawei.com> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> Link: https://patch.msgid.link/20241014143704.31938-1-wanghai38@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions