diff options
author | Toshiaki Makita <[email protected]> | 2014-03-27 21:46:56 +0900 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-03-28 16:33:09 -0400 |
commit | 99b192da9c99284ad3374132e56f66995cadc6b4 (patch) | |
tree | 5d76b7b88909e15e5126fb250b3ad03d6ecb0d15 /lib/mpi/mpi-internal.h | |
parent | 12464bb8de021a01fa7ec9299c273c247df7f198 (diff) |
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 <[email protected]>
Acked-by: Vlad Yasevich <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions