diff options
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | 2014-03-27 16:46:56 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-29 00:33:09 +0400 |
commit | 99b192da9c99284ad3374132e56f66995cadc6b4 (patch) | |
tree | 5d76b7b88909e15e5126fb250b3ad03d6ecb0d15 /net/openvswitch | |
parent | 12464bb8de021a01fa7ec9299c273c247df7f198 (diff) | |
download | linux-99b192da9c99284ad3374132e56f66995cadc6b4.tar.xz |
bridge: Fix handling stacked vlan tags
If a bridge with vlan_filtering enabled receives frames with stacked
vlan tags, i.e., they have two vlan tags, br_vlan_untag() strips not
only the outer tag but also the inner tag.
br_vlan_untag() is called only from br_handle_vlan(), and in this case,
it is enough to set skb->vlan_tci to 0 here, because vlan_tci has already
been set before calling br_handle_vlan().
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Acked-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions