openwrt/target/linux/generic
Daniel Golle 4d71c767c4
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
kernel: mtk_eth_soc: fix memory leak in downstream patch
Bc-bocun Chen of MediaTek has discovered a memory leak in the error path
in our downstream patch for mtk_eth_soc which adds support for the 10G
PCS and PHY paths of the MT7988 SoC.
Fix this by freeing the at this point already allocated netdev resources
before returning the error.

Fixes: 4cb6bd9a6d ("mediatek: switch to pending XFI 10G Ethernet drivers")
Reported-by: Bc-bocun Chen <bc-bocun.chen@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-02-01 17:45:41 +00:00
..
backport-6.12 kernel: mtd: backport upstream physmap OF partition order 2026-01-31 23:13:46 +01:00
files kernel: fix rtl8261n driver for non-realtek chips 2026-01-30 10:28:22 +01:00
hack-6.12 kernel: revert ip6_tunnel use skb_vlan_inet_prepare() in __ip6_tnl_rcv() 2026-01-30 13:40:30 +01:00
image treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-6.12 kernel: mtk_eth_soc: fix memory leak in downstream patch 2026-02-01 17:45:41 +00:00
config-6.12 kernel: add missing kernel config option 2026-01-26 23:57:25 +01:00
config-filter generic: filter out more rust related symbols 2026-01-18 11:22:15 +01:00
kernel-6.12 kernel: bump 6.12 to 6.12.67 2026-01-24 21:36:10 +01:00
PATCHES.md generic: improve patches documentation 2025-06-11 15:09:46 +02:00