aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-4.4
diff options
context:
space:
mode:
authorMartin Schiller <mschiller@tdt.de>2016-08-16 06:53:58 +0200
committerJohn Crispin <john@phrozen.org>2016-08-15 21:52:04 +0200
commit528b769d42efdb9d9c25bb62cfb2fdca5ff3f8ec (patch)
tree22462acb2f5b68ef53b2afb41c537ce8d52d47a7 /target/linux/lantiq/patches-4.4
parent2ebb4733e176560084809fb83d45366d929e1fc8 (diff)
downloadupstream-528b769d42efdb9d9c25bb62cfb2fdca5ff3f8ec.tar.gz
upstream-528b769d42efdb9d9c25bb62cfb2fdca5ff3f8ec.tar.bz2
upstream-528b769d42efdb9d9c25bb62cfb2fdca5ff3f8ec.zip
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@tdt.de>
Diffstat (limited to 'target/linux/lantiq/patches-4.4')
-rw-r--r--target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch2
1 files changed, 1 insertions, 1 deletions
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 c01ab33f82..4e60f30302 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);