linux-yocto/drivers/net/ethernet/i825xx
Wang Hai 2cb3f56e82 net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
The sun3_82586_send_packet() returns NETDEV_TX_OK without freeing skb
in case of skb->len being too long, add dev_kfree_skb() to fix it.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Message-ID: <20241015144148.7918-1-wanghai38@huawei.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
2024-10-19 16:04:20 -05:00
..
82596.c net: ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with SPDX identifier 2023-05-16 15:38:07 +02:00
ether1.c ethernet: i825xx: don't write directly to netdev->dev_addr 2022-01-26 15:40:01 +00:00
ether1.h
Kconfig
lasi_82596.c net: ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with SPDX identifier 2023-05-16 15:38:07 +02:00
lib82596.c net: ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with SPDX identifier 2023-05-16 15:38:07 +02:00
Makefile
sni_82596.c net: ethernet: i825xx: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
sun3_82586.c net/sun3_82586: fix potential memory leak in sun3_82586_send_packet() 2024-10-19 16:04:20 -05:00
sun3_82586.h net: ethernet: i825xx: sun3_8256: Add SPDX license identifier 2023-05-16 15:38:07 +02:00