summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2024-10-14 16:59:01 +0200
committerJakub Kicinski <kuba@kernel.org>2024-10-16 02:10:27 +0200
commitfed07d3eb8a8d9fcc0e455175a89bc6445d6faed (patch)
tree227998c82d672e56744c97b94fe69c5ea6e3989b /Documentation
parentnet: systemport: fix potential memory leak in bcm_sysport_xmit() (diff)
downloadlinux-fed07d3eb8a8d9fcc0e455175a89bc6445d6faed.tar.xz
linux-fed07d3eb8a8d9fcc0e455175a89bc6445d6faed.zip
net: bcmasp: fix potential memory leak in bcmasp_xmit()
The bcmasp_xmit() returns NETDEV_TX_OK without freeing skb in case of mapping fails, add dev_kfree_skb() to fix it. Fixes: 490cb412007d ("net: bcmasp: Add support for ASP2.0 Ethernet controller") Signed-off-by: Wang Hai <wanghai38@huawei.com> Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://patch.msgid.link/20241014145901.48940-1-wanghai38@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions