aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/netlink.c
diff options
context:
space:
mode:
authorFernando Luis Vazquez Cao <[email protected]>2014-02-18 12:20:09 +0000
committerDavid S. Miller <[email protected]>2014-02-20 07:15:38 +0000
commit6671b2240c54585d4afb5286a29f1569fe5e40a8 (patch)
tree79c4280715571a77b08b5946dbac2a2ad0fe1c4a /net/tipc/netlink.c
parentveth: Fix vlan_features so as to be able to use stacked vlan interfaces (diff)
downloadkernel-6671b2240c54585d4afb5286a29f1569fe5e40a8.tar.gz
kernel-6671b2240c54585d4afb5286a29f1569fe5e40a8.zip
tun: remove bogus hardware vlan acceleration flags from vlan_features
Even though only the outer vlan tag can be HW accelerated in the transmission path, in the TUN/TAP driver vlan_features mirrors hw_features, which happens to have the NETIF_F_HW_VLAN_?TAG_TX flags set. Because of this, during packet tranmisssion through a stacked vlan device dev_hard_start_xmit, (incorrectly) assuming that the vlan device supports hardware vlan acceleration, does not add the vlan header to the skb payload and the inner vlan tags are lost (vlan_tci contains the outer vlan tag when userspace reads the packet from the tap device). Signed-off-by: Fernando Luis Vazquez Cao <[email protected]> Signed-off-by: Toshiaki Makita <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/netlink.c')
0 files changed, 0 insertions, 0 deletions