bool rev = !skb->_nfct, upd = false;
__be32 ip;
-- if (tc_skb_protocol(skb) != htons(ETH_P_IP))
+- if (skb_protocol(skb, true) != htons(ETH_P_IP))
+ if (cake_skb_proto(skb) != htons(ETH_P_IP))
return false;
u16 *buf, buf_;
u8 dscp;
-- switch (tc_skb_protocol(skb)) {
+- switch (skb_protocol(skb, true)) {
+ switch (cake_skb_proto(skb)) {
case htons(ETH_P_IP):
buf = skb_header_pointer(skb, offset, sizeof(buf_), &buf_);