diff options
| author | Toshiaki Makita <[email protected]> | 2014-02-18 12:20:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-02-20 07:15:38 +0000 |
| commit | 8d0d21f4053c07714802cbe8b1fe26913ec296cc (patch) | |
| tree | 175b84daba5f41845a9f0bd999992c19078333d3 /net/tipc/netlink.c | |
| parent | ip_tunnel: Move ip_tunnel_get_stats64 into ip_tunnel_core.c (diff) | |
| download | kernel-8d0d21f4053c07714802cbe8b1fe26913ec296cc.tar.gz kernel-8d0d21f4053c07714802cbe8b1fe26913ec296cc.zip | |
veth: Fix vlan_features so as to be able to use stacked vlan interfaces
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 <[email protected]>
Acked-by: Flavio Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/netlink.c')
0 files changed, 0 insertions, 0 deletions
