1
1
openwrt/target/linux/realtek
Markus Stockhausen 8fd3e2fbec realtek: eth: avoid TX buffer memory leak
Although never observed, a transmit timeout might happen.
In that case there is a resource leak inside rteth_tx_timeout().
This happens when rteth_setup_ring_buffer() reinitializes the
transmit buffers and overwrites all transmit slots. Any linked
SKB is lost and leaked at this point.

Be defensive and add a cleanup rteth_free_tx_buffers() function.
Call this alongside rteth_free_rx_buffers() where needed.

Link: https://github.com/openwrt/openwrt/pull/23483
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
2026-05-30 08:50:00 +02:00
..
base-files realtek: rtl930x: add support for Hasivo F1100W-4SX-4XGT and variants 2026-05-28 22:10:00 +02:00
dts realtek: rtl930x: add support for Hasivo F1100W-4SX-4XGT and variants 2026-05-28 22:10:00 +02:00
files-6.18 realtek: eth: avoid TX buffer memory leak 2026-05-30 08:50:00 +02:00
image realtek: rtl930x: add support for Hasivo F1100W-4SX-4XGT and variants 2026-05-28 22:10:00 +02:00
patches-6.18 realtek: mach: specify alignment topology 2026-05-28 21:02:24 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: mach: specify alignment topology 2026-05-28 21:02:24 +02:00
rtl839x realtek: drop support for 6.12 2026-04-11 20:59:10 +02:00
rtl930x generic: net: phy: realtek: add 5G and 10G PHY support 2026-05-21 17:04:55 +01:00
rtl930x_nand generic: net: phy: realtek: add 5G and 10G PHY support 2026-05-21 17:04:55 +01:00
rtl931x realtek: add generic support for Zyxel XS1930 lineup 2026-04-20 11:13:06 +02:00
rtl931x_nand realtek: drop support for 6.12 2026-04-11 20:59:10 +02:00
Makefile realtek: switch to 6.18 2026-04-11 20:59:10 +02:00
modules.mk kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00