aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorZhang Changzhong <[email protected]>2022-11-17 19:33:01 +0800
committerKalle Valo <[email protected]>2022-12-22 18:07:22 +0200
commit212fde3fe76e962598ce1d47b97cc78afdfc71b3 (patch)
tree26dc4da1bac8707ed58168c800b0f291a7496e01 /tools/perf/scripts/python/net_dropmonitor.py
parent0a06cadcc2a0044e4a117cc0e61436fc3a0dad69 (diff)
wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
The brcmf_netdev_start_xmit() returns NETDEV_TX_OK without freeing skb in case of pskb_expand_head() fails, add dev_kfree_skb() to fix it. Compile tested only. Fixes: 270a6c1f65fe ("brcmfmac: rework headroom check in .start_xmit()") Signed-off-by: Zhang Changzhong <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions