openwrt/target/linux/mediatek
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
..
base-files mediatek: fix IPv4 address missing on interface in failsafe mode for cudy ap3000-v1 2025-12-16 00:29:13 +01:00
dts mediatek: add Motorcomm PHY support to Cudy AP3000 v1 2026-02-05 00:14:09 +01:00
files/drivers treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
files-6.12 treewide: dts: remove {#address,#size}-cells from "spi-nand" compatible node 2025-11-27 12:37:49 +01:00
filogic mediatek: enable wan led for Keenetic KN-(3711/3811) 2026-01-25 23:56:15 +01:00
image mediatek: add Motorcomm PHY support to Cudy AP3000 v1 2026-02-05 00:14:09 +01:00
mt7622 mediatek: add basic support for the MT7987 SoC 2025-11-05 14:19:39 +00:00
mt7623 mediatek: add basic support for the MT7987 SoC 2025-11-05 14:19:39 +00:00
mt7629 mediatek: add basic support for the MT7987 SoC 2025-11-05 14:19:39 +00:00
patches-6.12 kernel: mtk_eth_soc: fix memory leak in downstream patch 2026-02-05 02:56:45 +00:00
Makefile mediatek: switch to Linux 6.12 by default 2025-07-18 12:26:40 +01:00
modules.mk mediatek: build rtl8367s_gsw as a kernel module 2025-11-30 22:59:28 +01:00