[openwrt/openwrt] generic: 5.15: fix wrong PACKET_MANGLE select in swconfig switch patch

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 5 07:59:31 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1d910fa85224f25218d2a411db1937fb57930fe0

commit 1d910fa85224f25218d2a411db1937fb57930fe0
Author: Christian 'Ansuel' Marangi <ansuelsmth at gmail.com>
AuthorDate: Sun Jun 5 15:58:19 2022 +0200

    generic: 5.15: fix wrong PACKET_MANGLE select in swconfig switch patch
    
    In the rebase process of 5.15 hack patch the ETHERNET_PACKET_MANGLE got
    wrongly swapped from AR8216_PHY to PSB6970_PHY.
    Restore the ETHERNET_PACKET_MANGLE select to the right place.
    
    Fixes: 1f302afd7350 ("generic: 5.15: rework hack patch")
    Signed-off-by: Christian 'Ansuel' Marangi <ansuelsmth at gmail.com>
---
 target/linux/generic/hack-5.15/700-swconfig_switch_drivers.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/generic/hack-5.15/700-swconfig_switch_drivers.patch b/target/linux/generic/hack-5.15/700-swconfig_switch_drivers.patch
index 560937a7c1..b90e1fc441 100644
--- a/target/linux/generic/hack-5.15/700-swconfig_switch_drivers.patch
+++ b/target/linux/generic/hack-5.15/700-swconfig_switch_drivers.patch
@@ -38,6 +38,7 @@ Signed-off-by: Felix Fietkau <nbd at nbd.name>
 +config AR8216_PHY
 +	tristate "Driver for Atheros AR8216 switches"
 +	select SWCONFIG
++	select ETHERNET_PACKET_MANGLE
 +
 +config AR8216_PHY_LEDS
 +	bool "Atheros AR8216 switch LED support"
@@ -52,7 +53,6 @@ Signed-off-by: Felix Fietkau <nbd at nbd.name>
 +config PSB6970_PHY
 +	tristate "Lantiq XWAY Tantos (PSB6970) Ethernet switch"
 +	select SWCONFIG
-+	select ETHERNET_PACKET_MANGLE
 +
 +config RTL8306_PHY
 +	tristate "Driver for Realtek RTL8306S switches"




More information about the lede-commits mailing list