openwrt/target/linux/generic
Daniel Golle a3821c7798
Some checks failed
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build Kernel / Build all affected Kernels (push) Has been cancelled
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>
(cherry picked from commit 4d71c767c4)
2026-02-05 02:56:45 +00:00
..
backport-6.12 Revert "kernel: pcs-mtk-lynxi: backport fix for in-band status capabilities" 2026-01-21 01:20:54 +01:00
files kernel: fix rtl8261n driver for non-realtek chips 2026-02-01 20:46:42 +01:00
hack-6.12 kernel: bump 6.12 to 6.12.68 2026-02-03 23:26:21 +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-05 02:56:45 +00:00
config-6.12 kernel: add missing kernel config option 2026-01-26 23:59:37 +01:00
config-filter generic: config-filter: filter out CONFIG_PAHOLE_HAS_LANG_EXCLUDE 2025-05-14 11:28:01 +02:00
kernel-6.12 kernel: bump 6.12 to 6.12.68 2026-02-03 23:26:21 +01:00
PATCHES.md generic: improve patches documentation 2025-06-11 15:09:46 +02:00