[source] lantiq/xrx200-net: Add support for eth0 as WAN interface
LEDE Commits
lede-commits at lists.infradead.org
Mon Aug 15 23:49:35 PDT 2016
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=528b769d42efdb9d9c25bb62cfb2fdca5ff3f8ec
commit 528b769d42efdb9d9c25bb62cfb2fdca5ff3f8ec
Author: Martin Schiller <mschiller at tdt.de>
AuthorDate: Tue Aug 16 06:53:58 2016 +0200
lantiq/xrx200-net: Add support for eth0 as WAN interface
Use priv->wan instead of priv->id as indicator if packets should go to the
Ethernet WAN group (DPID=1) or not (DPID=0). This way, it's independant of
interface names or indexes.
Signed-off-by: Martin Schiller <mschiller at tdt.de>
---
.../linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch b/target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch
index c01ab33..4e60f30 100644
--- a/target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch
+++ b/target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch
@@ -1297,7 +1297,7 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net
+ special_tag |= port_map << PORT_MAP_SHIFT;
+ }
+ special_tag |= priv->port_map << PORT_MAP_SHIFT;
-+ if(priv->id)
++ if(priv->wan)
+ special_tag |= (1 << DPID_SHIFT);
+ if(skb_headroom(skb) < 4) {
+ struct sk_buff *tmp = skb_realloc_headroom(skb, 4);
More information about the lede-commits
mailing list