From: Toshiaki Makita Date: Thu, 27 Mar 2014 12:46:56 +0000 (+0900) Subject: bridge: Fix handling stacked vlan tags X-Git-Tag: v3.14~8^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99b192da9c99284ad3374132e56f66995cadc6b4;p=pandora-kernel.git 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 Acked-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed