Openwrt/target/linux/generic/pending-5.4
David Bauer 29a3967e61 generic: fix kernel panic on existing mac-address node
Calling free for the OF property can result in a kernel panic, as the
buffer in question might be referenced elsewhere. Also, it is not
removed from the tree.

Always allocate a new property and updating the tree with it fixes both
issues.

Fixes commit 91a52f22a1 ("treewide: backport support for nvmem on non platform devices")

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-08-10 13:13:01 +02:00
..
102-MIPS-only-process-negative-stack-offsets-on-stack-tr.patch
103-MIPS-select-CPU_MIPS64-for-remaining-MIPS64-CPUs.patch kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4 2021-04-30 23:51:19 +02:00
120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch kernel: bump 5.4 to 5.4.86 2021-01-01 17:07:28 +01:00
130-add-linux-spidev-compatible-si3210.patch kernel: bump 5.4 to 5.4.59 2020-08-20 14:19:39 +02:00
140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch kernel: bump 5.4 to 5.4.61 2020-08-30 19:44:47 +02:00
141-jffs2-add-RENAME_EXCHANGE-support.patch kernel: bump 5.4 to 5.4.61 2020-08-30 19:44:47 +02:00
150-bridge_allow_receiption_on_disabled_port.patch
180-net-phy-at803x-add-support-for-AT8032.patch kernel: Backport patch to automatically bring up DSA master when opening user port 2021-06-22 23:23:00 +02:00
190-rtc-rs5c372-support_alarms_up_to_1_week.patch kernel: bump 5.4 to 5.4.86 2021-01-01 17:07:28 +01:00
191-rtc-rs5c372-let_the_alarm_to_be_used_as_wakeup_source.patch kernel: bump 5.4 to 5.4.86 2021-01-01 17:07:28 +01:00
201-extra_optimization.patch kernel: bump 5.4 to 5.4.63 2020-09-06 19:55:19 +02:00
203-kallsyms_uncompressed.patch kernel: bump 5.4 to 5.4.129 2021-07-17 13:21:03 +02:00
205-backtrace_module_info.patch kernel: bump 5.4 to 5.4.132 2021-07-17 13:21:03 +02:00
240-remove-unsane-filenames-from-deps_initramfs-list.patch
261-enable_wilink_platform_without_drivers.patch
270-platform-mikrotik-build-bits.patch
300-mips_expose_boot_raw.patch kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4 2021-04-30 23:51:19 +02:00
302-mips_no_branch_likely.patch
305-mips_module_reloc.patch
307-mips_highmem_offset.patch
308-mips32r2_tune.patch
309-MIPS-Add-CPU-option-reporting-to-proc-cpuinfo.patch
310-arm_module_unresolved_weak_sym.patch
311-MIPS-zboot-put-appended-dtb-into-a-section.patch kernel: mips: zboot: put appended dtb into a section 2020-10-29 21:34:56 +08:00
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch
332-arc-add-OWRTDTB-section.patch
333-arc-enable-unaligned-access-in-kernel-mode.patch
342-powerpc-Enable-kernel-XZ-compression-option-on-PPC_8.patch kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
400-mtd-add-rootfs-split-support.patch
401-mtd-add-support-for-different-partition-parser-types.patch
402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch
403-mtd-hook-mtdsplit-to-Kbuild.patch
404-mtd-add-more-helper-functions.patch kernel: rename mtdpart_get_master to mtd_get_master 2020-11-13 13:16:51 +01:00
410-mtd-parsers-ofpart-fix-parsing-subpartitions.patch kernel: fix parsing fixed subpartitions 2021-05-06 14:53:25 +02:00
411-mtd-partial_eraseblock_write.patch kernel: fix mtd partition erase < parent_erasesize writes 2020-09-19 12:41:29 +02:00
412-mtd-partial_eraseblock_unlock.patch kernel: fix mtd partition erase < parent_erasesize writes 2020-09-19 12:41:29 +02:00
419-mtd-redboot-add-of_match_table-with-DT-binding.patch kernel: bump 5.4 to 5.4.132 2021-07-17 13:21:03 +02:00
420-mtd-redboot_space.patch kernel: bump 5.4 to 5.4.132 2021-07-17 13:21:03 +02:00
430-mtd-add-myloader-partition-parser.patch kernel: add the latest mtd patch extending ofpart parser 2021-03-01 18:18:38 +01: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 kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
447-mtd-spinand-gigadevice-Add-support-for-GD5F4GQ4xC.patch kernel: Add GigaDevice GD5F4GQ4xC SPI NAND flash 2020-08-21 11:46:13 +02:00
450-mtd-spi-nor-allow-NOR-driver-to-write-fewer-bytes-th.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
460-mtd-cfi_cmdset_0002-no-erase_suspend.patch kernel: Move an upstreamed patch under backports 2021-04-30 23:48:37 +02:00
461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch kernel: Move an upstreamed patch under backports 2021-04-30 23:48:37 +02:00
465-m25p80-mx-disable-software-protection.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
466-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
476-mtd-spi-nor-add-eon-en25q128.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
479-mtd-spi-nor-add-xtx-xt25f128b.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
480-mtd-set-rootfs-to-be-root-dev.patch kernel: add pending mtd patches adding NVMEM support 2021-03-12 18:49:46 +01:00
481-mtd-spi-nor-rework-broken-flash-reset-support.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
482-mtd-spi-nor-add-support-for-Gigadevice-GD25D05.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
482-mtd-spi-nor-fix-4-byte-opcode-support-for-w25q256.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
483-mtd-spinand-add-support-for-xtx-xt26g0xa.patch kernel: Add support for XTX XT26G02A SPI NAND 2021-07-25 13:52:38 +02:00
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch kernel: bump 5.4 to 5.4.100 2021-02-25 13:08:09 +01:00
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch
494-mtd-ubi-add-EOF-marker-support.patch kernel: bump 5.4 to 5.4.69 2020-10-02 22:02:26 +02:00
495-mtd-core-add-get_mtd_device_by_node.patch kernel: bump 5.4 to 5.4.119 2021-05-23 15:09:06 +02:00
496-dt-bindings-add-bindings-for-mtd-concat-devices.patch
497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch
498-mtd-mtdconcat-select-readwrite-function.patch
530-jffs2_make_lzma_available.patch kernel: 5.4: fix patches after wireguard backport 2021-02-26 20:41:01 +01:00
532-jffs2_eofdetect.patch
600-netfilter_conntrack_flush.patch kernel: bump 5.4 to 5.4.114 2021-04-30 23:48:37 +02:00
610-netfilter_match_bypass_default_checks.patch kernel: bump 5.4 to 5.4.109 2021-04-02 16:45:28 +02:00
611-netfilter_match_bypass_default_table.patch kernel: bump 5.4 to 5.4.109 2021-04-02 16:45:28 +02:00
612-netfilter_match_reduce_memory_access.patch
613-netfilter_optional_tcp_window_check.patch kernel: bump 5.4 to 5.4.114 2021-04-30 23:48:37 +02:00
620-net_sched-codel-do-not-defer-queue-length-update.patch
630-packet_socket_type.patch kernel: bump 5.4 to 5.4.129 2021-07-17 13:21:03 +02:00
640-netfilter-nf_flow_table-add-hardware-offload-support.patch kernel: drop the conntrack rtcache patch 2021-04-22 09:08:56 +01:00
641-netfilter-nf_flow_table-support-hw-offload-through-v.patch
642-net-8021q-support-hardware-flow-table-offload.patch
643-net-bridge-support-hardware-flow-table-offload.patch kernel: bump 5.4 to 5.4.85 2020-12-22 19:11:50 +01:00
644-net-pppoe-support-hardware-flow-table-offload.patch
645-netfilter-nf_flow_table-rework-hardware-offload-time.patch
646-netfilter-nf_flow_table-rework-private-driver-data.patch
647-net-dsa-support-hardware-flow-table-offload.patch kernel: Backport patch to automatically bring up DSA master when opening user port 2021-06-22 23:23:00 +02:00
655-increase_skb_pad.patch kernel: bump 5.4 to 5.4.92 2021-01-26 00:49:53 +01:00
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch kernel: bump 5.4 to 5.4.121 2021-05-23 15:09:06 +02:00
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch kernel: bump 5.4 to 5.4.125 2021-06-26 12:45:42 +02:00
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch
680-NET-skip-GRO-for-foreign-MAC-addresses.patch kernel: bump 5.4 to 5.4.133 2021-07-25 13:52:38 +02:00
681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch kirkwood: import patch to fix build and refresh patches 2021-08-05 23:53:07 +01:00
682-of_net-add-mac-address-increment-support.patch kirkwood: import patch to fix build and refresh patches 2021-08-05 23:53:07 +01:00
683-of_net-add-mac-address-to-of-tree.patch generic: fix kernel panic on existing mac-address node 2021-08-10 13:13:01 +02:00
690-net-add-support-for-threaded-NAPI-polling.patch kernel: bump 5.4 to 5.4.133 2021-07-25 13:52:38 +02:00
703-phy-add-detach-callback-to-struct-phy_driver.patch kernel: backport mdio_find_bus from 5.10.x 2021-08-08 19:49:29 +02:00
730-net-phy-at803x-fix-feature-detection.patch generic: at803x: mask 1000 Base-X link mode 2021-06-27 13:19:20 +02:00
739-net-avoid-tx-fault-with-Nokia-GPON-module.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
740-net-sfp-remove-incomplete-100BASE-FX-and-100BASE-LX-.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
741-net-sfp-derive-interface-mode-from-ethtool-link-mode.patch
742-net-sfp-add-more-extended-compliance-codes.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
743-net-sfp-add-module-start-stop-upstream-notifications.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
744-net-sfp-move-phy_start-phy_stop-to-phylink.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
745-net-mdio-i2c-add-support-for-Clause-45-accesses.patch
746-net-phylink-re-split-__phylink_connect_phy.patch
747-net-phylink-support-Clause-45-PHYs-on-SFP-modules.patch
748-net-phylink-split-link_an_mode-configured-and-curren.patch
749-net-phylink-split-phylink_sfp_module_insert.patch
750-net-phylink-delay-MAC-configuration-for-copper-SFP-m.patch
751-net-phylink-make-Broadcom-BCM84881-based-SFPs-work.patch
752-net-phy-add-Broadcom-BCM84881-PHY-driver.patch kernel: bump 5.4 to 5.4.71 2020-10-15 17:46:54 +02:00
753-net-sfp-add-support-for-Clause-45-PHYs.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
754-net-sfp-fix-unbind.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
755-net-sfp-fix-hwmon.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
756-net-sfp-use-a-definition-for-the-fault-recovery-atte.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
757-net-sfp-rename-sm_retries.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
758-net-sfp-error-handling-for-phy-probe.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
759-net-sfp-re-attempt-probing-for-phy.patch kernel: backport workaround for Realtek RTL8672 and RTL9601C chips 2021-07-25 13:52:38 +02:00
760-net-dsa-mv88e6xxx-fix-vlan-setup.patch kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
761-net-dsa-mt7530-Support-EEE-features.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
762-net-bridge-switchdev-Refactor-br_switchdev_fdb_notif.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-23 21:10:56 +01:00
763-net-bridge-switchdev-Include-local-flag-in-FDB-notif.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-23 21:10:56 +01:00
764-net-bridge-switchdev-Send-FDB-notifications-for-host.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-23 21:10:56 +01:00
765-net-dsa-Include-local-addresses-in-assisted-CPU-port.patch kernel: Backport patch to automatically bring up DSA master when opening user port 2021-06-22 23:23:00 +02:00
766-net-dsa-Include-bridge-addresses-in-assisted-CPU-por.patch kernel: Backport patch to automatically bring up DSA master when opening user port 2021-06-22 23:23:00 +02:00
767-net-dsa-Sync-static-FDB-entries-on-foreign-interface.patch kernel: Backport patch to automatically bring up DSA master when opening user port 2021-06-22 23:23:00 +02:00
768-net-dsa-mv88e6xxx-Request-assisted-learning-on-CPU-port.patch kernel: bump 5.4 to 5.4.135 2021-07-31 19:13:00 +02:00
770-00-net-ethernet-mtk_eth_soc-use-napi_consume_skb.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
770-01-net-ethernet-mtk_eth_soc-significantly-reduce-mdio-b.patch mediatek/ramips: unify ethernet driver fixes and add performance optimizations 2020-09-01 17:01:56 +02:00
770-03-net-ethernet-mtk_eth_soc-fix-unnecessary-tx-queue-st.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
770-04-net-ethernet-mtk_eth_soc-use-larger-burst-size-for-q.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
770-05-net-ethernet-mtk_eth_soc-increase-DMA-ring-sizes.patch mediatek/ramips: unify ethernet driver fixes and add performance optimizations 2020-09-01 17:01:56 +02:00
770-06-net-ethernet-mtk_eth_soc-implement-dynamic-interrupt.patch kirkwood: import patch to fix build and refresh patches 2021-08-05 23:53:07 +01:00
770-08-net-ethernet-mtk_eth_soc-cache-hardware-pointer-of-l.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
770-09-net-ethernet-mtk_eth_soc-only-read-the-full-rx-descr.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
770-10-net-ethernet-mtk_eth_soc-unmap-rx-data-before-callin.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
770-11-net-ethernet-mtk_eth_soc-avoid-rearming-interrupt-if.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
770-13-net-ethernet-mtk_eth_soc-fix-parsing-packets-in-GDM.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch kernel: bump 5.4 to 5.4.124 2021-06-06 00:25:25 +02:00
770-15-net-ethernet-mediatek-mtk_eth_soc-add-support-for-in.patch kirkwood: import patch to fix build and refresh patches 2021-08-05 23:53:07 +01:00
770-16-net-ethernet-mediatek-mtk_eth_soc-add-flow-offloadin.patch kirkwood: import patch to fix build and refresh patches 2021-08-05 23:53:07 +01:00
780-ARM-kirkwood-add-missing-linux-if_ether.h-for-ETH_AL.patch kirkwood: import patch to fix build and refresh patches 2021-08-05 23:53:07 +01:00
800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch
810-pci_disable_common_quirks.patch kernel: bump 5.4 to 5.4.133 2021-07-25 13:52:38 +02:00
811-pci_disable_usb_common_quirks.patch
820-libata-Assign-OF-node-to-the-SCSI-device.patch kernel: bump 5.4 to 5.4.64 2020-09-12 01:28:50 +02:00
834-ledtrig-libata.patch kernel: bump 5.4 to 5.4.69 2020-10-02 22:02:26 +02:00
840-hwrng-bcm2835-set-quality-to-1000.patch generic: add bcm2835-rng quality patch 2021-02-20 18:59:25 +01:00
920-mangle_bootargs.patch kernel: bump 5.4 to 5.4.129 2021-07-17 13:21:03 +02:00
0931-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch