openwrt/target/linux/generic/pending-6.12
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
..
100-compiler.h-only-include-asm-rwonce.h-for-kernel-code.patch kernel: bump 6.12 to 6.12.44 2025-08-31 13:07:49 +02:00
102-MIPS-only-process-negative-stack-offsets-on-stack-tr.patch
103-kbuild-export-SUBARCH.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
111-watchdog-max63xx_wdt-Add-support-for-specifying-WDI-.patch
140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
141-jffs2-add-RENAME_EXCHANGE-support.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
142-jffs2-add-splice-ops.patch
150-bridge_allow_receiption_on_disabled_port.patch kernel: update and move net bridge patch to backport folder 2025-09-04 23:50:17 +02:00
151-net-bridge-do-not-send-arp-replies-if-src-and-target.patch
190-rtc-rs5c372-support_alarms_up_to_1_week.patch
191-rtc-rs5c372-let_the_alarm_to_be_used_as_wakeup_source.patch
200-ARM-9404-1-arm32-fix-boot-hang-with-HAVE_LD_DEAD_COD.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
203-kallsyms_uncompressed.patch kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
205-backtrace_module_info.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
240-remove-unsane-filenames-from-deps_initramfs-list.patch
250-kernel-fork-Increase-minimum-number-of-allowed-threa.patch kernel: Fix boot of amrsr target in qemu 2025-07-12 23:23:43 +02:00
270-platform-mikrotik-build-bits.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
300-mips_expose_boot_raw.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
301-MIPS-Add-barriers-between-dcache-icache-flushes.patch
302-mips_no_branch_likely.patch
308-mips32r2_tune.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
310-arm_module_unresolved_weak_sym.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
332-arc-add-OWRTDTB-section.patch
333-arc-enable-unaligned-access-in-kernel-mode.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
342-powerpc-Enable-kernel-XZ-compression-option-on-PPC_8.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
350-mips-kernel-fix-detect_memory_region-function.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
360-Revert-MIPS-mm-kmalloc-tlb_vpn-array-to-avoid-stack-.patch kernel: Fix boot of realtek rtl838x 2025-12-17 00:32:25 +01:00
361-Revert-MIPS-mm-Prevent-a-TLB-shutdown-on-initial-uni.patch kernel: Fix boot of realtek rtl838x 2025-12-17 00:32:25 +01:00
400-mtd-mtdsplit-support.patch treewide: use of_property_present 2025-11-30 19:18:06 +01:00
402-mtd-spi-nor-write-support-for-minor-aligned-partitions.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
417-mtd-spi-nand-macronix-disable-continuous-read-for-MX.patch generic: 6.12: disable cont read for MX35LFxGE4AD 2025-06-13 11:15:08 +02:00
420-mtd-redboot_space.patch
430-mtd-add-myloader-partition-parser.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
432-mtd-bcm47xxpart-detect-T_Meter-partition.patch
435-mtd-add-routerbootpart-parser-config.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
450-block-allow-setting-partition-of_node.patch generic: 6.12: update block NVMEM driver 2025-05-07 04:44:46 +01:00
451-block-partitions-of-assign-Device-Tree-node-to-parti.patch generic: 6.12: update block NVMEM driver 2025-05-07 04:44:46 +01:00
452-partitions-efi-apply-Linux-code-style.patch generic: 6.12: update block NVMEM driver 2025-05-07 04:44:46 +01:00
453-partitions-efi-allow-assigning-partition-Device-Tree.patch generic: 6.12: update block NVMEM driver 2025-05-07 04:44:46 +01:00
454-block-add-support-for-notifications.patch kernel: bump 6.12 to 6.12.46 2025-09-18 14:01:11 +02:00
455-block-add-new-genhd-flag-GENHD_FL_NVMEM.patch generic: 6.12: update block NVMEM driver 2025-05-07 04:44:46 +01:00
456-nvmem-implement-block-NVMEM-provider.patch generic: 6.12: update block NVMEM driver 2025-05-07 04:44:46 +01:00
457-mmc-block-set-GENHD_FL_NVMEM.patch generic: 6.12: update block NVMEM driver 2025-05-07 04:44:46 +01:00
460-mtd-cfi_cmdset_0002-no-erase_suspend.patch
461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch
465-m25p80-mx-disable-software-protection.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
476-mtd-spi-nor-add-eon-en25q128.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
477-mtd-spi-nor-add-eon-en25qx128a.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
479-mtd-spi-nor-add-xtx-xt25f128b.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
481-mtd-spi-nor-add-support-for-Gigadevice-GD25D05.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
482-mtd-spi-nor-add-gd25q512.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
484-mtd-spi-nor-add-esmt-f25l16pa.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
485-mtd-spi-nor-add-xmc-xm25qh128c.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
487-mtd-spinand-Add-support-for-Etron-EM73D044VCx.patch kernel: mtd: spinand: esmt: add support for F50L1G41LC 2025-11-28 23:42:29 +01:00
488-mtd-spi-nor-add-xmc-xm25qh64c.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
491-ubi-auto-create-ubiblock-device-for-rootfs.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
494-mtd-ubi-add-EOF-marker-support.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
496-dt-bindings-add-bindings-for-mtd-concat-devices.patch
497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
498-mtd-spi-nor-locking-support-for-MX25L6405D.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
499-mtd-spi-nor-disable-16-bit-sr-for-macronix.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
500-fs_cdrom_dependencies.patch
510-block-add-uImage.FIT-subimage-block-driver.patch kernel: as21xxx: backport patch improve PHY HW reset 2026-01-05 00:23:00 +01:00
511-init-bypass-device-lookup-for-dev-fit-rootfs.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
530-jffs2_make_lzma_available.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
532-jffs2_eofdetect.patch kernel: bump 6.12 to 6.12.35 2025-06-28 22:47:48 +02:00
600-netfilter_conntrack_flush.patch
610-netfilter_match_bypass_default_checks.patch
611-netfilter_match_bypass_default_table.patch
612-netfilter_match_reduce_memory_access.patch
630-packet_socket_type.patch kernel: bump 6.12 to 6.12.40 2025-07-26 01:00:09 +02:00
640-net-bridge-fix-switchdev-host-mdb-entry-updates.patch kernel: bump 6.12 to 6.12.40 2025-07-26 01:00:09 +02:00
641-net-bridge-switchdev-Don-t-drop-packets-between-port.patch kernel: bump 6.12 to 6.12.40 2025-07-26 01:00:09 +02:00
650-net-pppoe-implement-GRO-support.patch kernel: bump 6.12 to 6.12.42 2025-08-26 21:35:36 +02:00
655-increase_skb_pad.patch kernel: bump 6.12 to 6.12.46 2025-09-18 14:01:11 +02:00
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch kernel: bump 6.12 to 6.12.55 2025-10-25 01:08:12 +02:00
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
681-net-remove-NETIF_F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch kernel: bump 6.12 to 6.12.67 2026-02-03 23:26:20 +01:00
683-of_net-add-mac-address-to-of-tree.patch
690-net-add-missing-check-for-TCP-fraglist-GRO.patch kernel: fix fraglist GRO on linux 6.12 2025-07-05 15:27:12 +02:00
700-netfilter-nft_flow_offload-handle-netdevice-events-f.patch kernel: bump 6.12 to 6.12.63 2026-01-02 14:32:36 +01:00
701-netfilter-nf_tables-ignore-EOPNOTSUPP-on-flowtable-d.patch kernel: bump 6.12 to 6.12.66 2026-01-20 11:41:15 +01:00
702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch kernel: bump 6.12 to 6.12.46 2025-09-18 14:01:11 +02:00
703-phy-add-detach-callback-to-struct-phy_driver.patch kernel: phylink: disable autoneg for interfaces that have no inband 2026-01-05 00:23:01 +01:00
705-net-dsa-tag_mtk-add-padding-for-tx-packets.patch
706-net-phy-populate-host_interfaces-when-attaching-PHY.patch kernel: phylink: disable autoneg for interfaces that have no inband 2026-01-05 00:23:01 +01:00
710-bridge-add-knob-for-filtering-rx-tx-BPDU-pack.patch kernel: bump 6.12 to 6.12.58 2025-11-20 21:30:26 +01:00
711-01-net-dsa-qca8k-implement-lag_fdb_add-del-ops.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
711-02-net-dsa-qca8k-enable-flooding-to-both-CPU-port.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
711-03-net-dsa-qca8k-add-support-for-port_change_master.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
712-net-dsa-qca8k-enable-assisted-learning-on-CPU-port.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
720-01-net-phy-realtek-use-genphy_soft_reset-for-2.5G-PHYs.patch kernel: RTL8211FVD: restore disabling of PHY-mode EEE 2026-01-05 00:23:01 +01:00
720-02-net-phy-realtek-disable-SGMII-in-band-AN-for-2-5G-PHYs.patch kernel: RTL8211FVD: restore disabling of PHY-mode EEE 2026-01-05 00:23:01 +01:00
720-03-net-phy-realtek-make-sure-paged-read-is-protected-by.patch kernel: RTL8211FVD: restore disabling of PHY-mode EEE 2026-01-05 00:23:01 +01:00
720-04-net-phy-realtek-setup-aldps.patch kernel: RTL8211FVD: restore disabling of PHY-mode EEE 2026-01-05 00:23:01 +01:00
720-05-net-phy-realtek-detect-early-version-of-RTL8221B.patch kernel: RTL8211FVD: restore disabling of PHY-mode EEE 2026-01-05 00:23:01 +01:00
720-07-net-phy-realtek-mark-existing-MMDs-as-present.patch kernel: RTL8211FVD: restore disabling of PHY-mode EEE 2026-01-05 00:23:01 +01:00
720-08-net-phy-realtek-work-around-broken-serdes.patch kernel: RTL8211FVD: restore disabling of PHY-mode EEE 2026-01-05 00:23:01 +01:00
720-09-net-phy-realtek-disable-MDIO-broadcast.patch kernel: RTL8211FVD: restore disabling of PHY-mode EEE 2026-01-05 00:23:01 +01:00
731-net-permit-ieee80211_ptr-even-with-no-CFG82111-suppo.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
732-00-net-ethernet-mtk_eth_soc-compile-out-netsys-v2-code-.patch kernel: bump 6.12 to 6.12.26 2025-05-04 21:58:23 +02:00
732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch kernel: bump 6.12 to 6.12.46 2025-09-18 14:01:11 +02:00
732-03-net-ethernet-mtk_eth_soc-optimize-dma-ring-address-i.patch kernel: bump 6.12 to 6.12.46 2025-09-18 14:01:11 +02:00
732-04-net-ethernet-mtk_eth_soc-shrink-struct-mtk_tx_buf.patch kernel: bump 6.12 to 6.12.46 2025-09-18 14:01:11 +02:00
732-05-net-ethernet-mtk_eth_soc-add-support-for-sending-fra.patch kernel: mtk_eth_soc: fix encapsulation check for GSO fraglist packets 2025-11-13 14:24:38 +01:00
733-01-net-ethernet-mtk_eth_soc-use-napi_build_skb.patch kernel: fix mtk_eth_soc handling of fraglist packets without GSO_FRAGLIST 2025-11-12 12:14:16 +01:00
734-net-ethernet-mediatek-enlarge-DMA-reserve-buffer.patch kernel: fix mtk_eth_soc handling of fraglist packets without GSO_FRAGLIST 2025-11-12 12:14:16 +01:00
736-03-net-ethernet-mtk_eth_soc-improve-keeping-track-of-of.patch generic: 6.12: manually rebuild pending patches 2025-04-30 16:26:31 +02:00
736-04-net-ethernet-mediatek-fix-ppe-flow-accounting-for-L2.patch kernel: bump 6.12 to 6.12.44 2025-08-31 13:07:49 +02:00
736-05-net-ethernet-mtk_eth_soc-zero-initialize-PPE-flow-ta.patch kernel: mtk_eth_soc: zero-initialize PPE flow tables 2025-09-12 14:39:49 +02:00
737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch kernel: mtk_eth_soc: fix memory leak in downstream patch 2026-02-05 02:56:45 +00:00
738-01-net-ethernet-mtk_eth_soc-reduce-rx-ring-size-for-older.patch kernel: mtk_eth_soc: fix memory leak in downstream patch 2026-02-05 02:56:45 +00:00
738-02-net-ethernet-mtk_eth_soc-do-not-enable-page-pool-sta.patch kernel: fix mtk_eth_soc handling of fraglist packets without GSO_FRAGLIST 2025-11-12 12:14:16 +01:00
739-01-dt-bindings-phy-mediatek-xfi-tphy-add-new-bindings.patch
739-03-net-pcs-pcs-mtk-lynxi-add-platform-driver-for-MT7988.patch Revert "kernel: pcs-mtk-lynxi: backport fix for in-band status capabilities" 2026-01-21 01:20:54 +01:00
739-04-dt-bindings-net-pcs-add-bindings-for-MediaTek-USXGMI.patch
739-05-net-pcs-add-driver-for-MediaTek-USXGMII-PCS.patch kernel: as21xxx: backport patch improve PHY HW reset 2026-01-05 00:23:00 +01:00
740-net-phy-motorcomm-Add-missing-include.patch
741-net-phy-broadcom-update-dependency-condition.patch generic: backport support for Aeonsemi AS21xxx PHY 2025-09-03 00:58:48 +02:00
780-ARM-kirkwood-add-missing-linux-if_ether.h-for-ETH_AL.patch
790-bus-mhi-core-add-SBL-state-callback.patch kernel: bump 6.12 to 6.12.44 2025-08-31 13:07:49 +02:00
791-tg3-Fix-DMA-allocations-on-57766-devices.patch kernel: bump 6.12 to 6.12.55 2025-10-25 01:08:12 +02:00
800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch
801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
802-OPP-Provide-old-opp-to-config_clks-on-_set_opp.patch kernel: bump 6.12 to 6.12.58 2025-11-20 21:30:26 +01:00
804-nvmem-core-support-mac-base-fixed-layout-cells.patch kernel: bump 6.12 to 6.12.31 2025-05-31 17:35:29 +02:00
809-01-nvmem-core-generalize-mac-base-cells-handling.patch kernel: bump 6.12 to 6.12.31 2025-05-31 17:35:29 +02:00
809-02-nvmem-layouts-add-support-for-ascii-env-driver.patch
809-03-nvmem-layouts-ascii-env-handle-CRLF-while-parsing.patch
810-pci_disable_common_quirks.patch kernel: bump 6.12 to 6.12.58 2025-11-20 21:30:26 +01:00
811-pci_disable_usb_common_quirks.patch generic: fix disable common USB quirks patch 2025-05-17 19:46:52 +02:00
812-PCI-sysfs-enforce-single-creation-of-sysfs-entry-for.patch kernel: bump 6.12 to 6.12.54 2025-10-22 23:37:13 +02:00
834-ledtrig-libata.patch kernel: bump 6.12 to 6.12.68 2026-02-03 23:26:21 +01:00
840-hwrng-bcm2835-set-quality-to-1000.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
850-0023-PCI-aardvark-Make-main-irq_chip-structure-a-static-d.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
890-usb-serial-add-support-for-CH348.patch
900-net-ag71xx-fix-qca9530-and-qca9550-mdio-probe.patch generic: 6.12: refresh pending patches 2025-04-30 16:26:32 +02:00
920-mangle_bootargs.patch kernel: bump 6.12 to 6.12.54 2025-10-22 23:37:13 +02:00