aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-10 23:03:34 -0400
committerLuis Henriques <luis.henriques@canonical.com>2012-07-03 11:29:03 -0400
commitb88e03548cfb25586337284c0087b305c563979c (patch)
tree2d2bd23b66ace39665295311bde07c9d1c444f8d /drivers/net
parent82080f4405dac93d0671a6a60f50cd48e50f0fb9 (diff)
Revert "net: maintain namespace isolation between vlan and real device"
BugLink: http://bugs.launchpad.net/bugs/1013748 [ Upstream commit 59b9997baba5242997ddc7bd96b1391f5275a5a4 ] This reverts commit 8a83a00b0735190384a348156837918271034144. It causes regressions for S390 devices, because it does an unconditional DST drop on SKBs for vlans and the QETH device needs the neighbour entry hung off the DST for certain things on transmit. Arnd can't remember exactly why he even needed this change. Conflicts: drivers/net/macvlan.c net/8021q/vlan_dev.c net/core/dev.c Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/macvlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index ab4723d92a6..735f726729d 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -247,7 +247,7 @@ static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev)
247 247
248xmit_world: 248xmit_world:
249 skb->ip_summed = ip_summed; 249 skb->ip_summed = ip_summed;
250 skb_set_dev(skb, vlan->lowerdev); 250 skb->dev = vlan->lowerdev;
251 return dev_queue_xmit(skb); 251 return dev_queue_xmit(skb);
252} 252}
253 253