diff options
Diffstat (limited to 'include/net/pkt_sched.h')
-rw-r--r-- | include/net/pkt_sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h index fe6e7aac3c56..2342bf12cb78 100644 --- a/include/net/pkt_sched.h +++ b/include/net/pkt_sched.h | |||
@@ -121,7 +121,7 @@ static inline __be16 tc_skb_protocol(const struct sk_buff *skb) | |||
121 | * vlan accelerated path. In that case, use skb->vlan_proto | 121 | * vlan accelerated path. In that case, use skb->vlan_proto |
122 | * as the original vlan header was already stripped. | 122 | * as the original vlan header was already stripped. |
123 | */ | 123 | */ |
124 | if (vlan_tx_tag_present(skb)) | 124 | if (skb_vlan_tag_present(skb)) |
125 | return skb->vlan_proto; | 125 | return skb->vlan_proto; |
126 | return skb->protocol; | 126 | return skb->protocol; |
127 | } | 127 | } |