kernel_samsung_a53x/drivers/net/ethernet/i825xx
Wang Hai 1c3a66228b net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
[ Upstream commit 2cb3f56e827abb22c4168ad0c1bbbf401bb2f3b8 ]

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: 1da177e4c3f4 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:22:00 +01:00
..
82596.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ether1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ether1.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lasi_82596.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lib82596.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sni_82596.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun3_82586.c net/sun3_82586: fix potential memory leak in sun3_82586_send_packet() 2024-11-23 23:22:00 +01:00
sun3_82586.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00