]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - net/sched/em_meta.c
sched: consistently handle layer3 header accesses in the presence of VLANs
[mirror_ubuntu-focal-kernel.git] / net / sched / em_meta.c
index 3177dcb173161629a801278db38fabeb6fcdbdd9..ad007cdcec978490b8526a7f69e4c969d1345c9d 100644 (file)
@@ -195,7 +195,7 @@ META_COLLECTOR(int_priority)
 META_COLLECTOR(int_protocol)
 {
        /* Let userspace take care of the byte ordering */
-       dst->value = tc_skb_protocol(skb);
+       dst->value = skb_protocol(skb, false);
 }
 
 META_COLLECTOR(int_pkttype)