summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2014-02-18 12:20:08 (GMT)
committerJiri Slaby <jslaby@suse.cz>2014-03-13 22:19:38 (GMT)
commitcc9f71b2cc82f1fb66dc5d1ff3fc4eefe8b06f91 (patch)
tree2333be8cb231bafde647f5ab9340227681f603fb /net/core
parent17d633ca63add6ccaa77e125ba1e8693635bc9f1 (diff)
downloadlinux-fsl-qoriq-cc9f71b2cc82f1fb66dc5d1ff3fc4eefe8b06f91.tar.xz
veth: Fix vlan_features so as to be able to use stacked vlan interfaces
[ Upstream commit 8d0d21f4053c07714802cbe8b1fe26913ec296cc ] Even if we create a stacked vlan interface such as veth0.10.20, it sends single tagged frames (tagged with only vid 10). Because vlan_features of a veth interface has the NETIF_F_HW_VLAN_[CTAG/STAG]_TX bits, veth0.10 also has that feature, so dev_hard_start_xmit(veth0.10) doesn't call __vlan_put_tag() and vlan_dev_hard_start_xmit(veth0.10) overwrites vlan_tci. This prevents us from using a combination of 802.1ad and 802.1Q in containers, etc. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Acked-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions