From: Jiri Pirko Date: Tue, 13 Jan 2015 16:13:43 +0000 (+0100) Subject: net: sched: fix skb->protocol use in case of accelerated vlan path X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~226 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8b9605d2697c48fb822c821c5751afbb4567003;p=pandora-kernel.git net: sched: fix skb->protocol use in case of accelerated vlan path tc code implicitly considers skb->protocol even in case of accelerated vlan paths and expects vlan protocol type here. However, on rx path, if the vlan header was already stripped, skb->protocol contains value of next header. Similar situation is on tx path. So for skbs that use skb->vlan_tci for tagging, use skb->vlan_proto instead. Reported-by: Jamal Hadi Salim Signed-off-by: Jiri Pirko Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- Reading git-diff-tree failed