diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-10 23:03:34 -0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-06-10 14:42:05 +0100 |
commit | 0fc2cf738f345db9798e546a70810c5984aed214 (patch) | |
tree | a9eba318f20a1ad1f12172a7050a9722c83264c5 /net/8021q/vlan_dev.c | |
parent | a549123336c6afafcf2fd2eea7248a8c9ac3385f (diff) | |
download | linux-stable-0fc2cf738f345db9798e546a70810c5984aed214.tar.gz linux-stable-0fc2cf738f345db9798e546a70810c5984aed214.tar.bz2 linux-stable-0fc2cf738f345db9798e546a70810c5984aed214.zip |
Revert "net: maintain namespace isolation between vlan and real device"
[ 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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/8021q/vlan_dev.c')
-rw-r--r-- | net/8021q/vlan_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index bc2528624583..0cccca85284e 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c @@ -156,7 +156,7 @@ static netdev_tx_t vlan_dev_hard_start_xmit(struct sk_buff *skb, skb = __vlan_hwaccel_put_tag(skb, vlan_tci); } - skb_set_dev(skb, vlan_dev_info(dev)->real_dev); + skb->dev = vlan_dev_info(dev)->real_dev; len = skb->len; ret = dev_queue_xmit(skb); |