kernel: Update kernel 4.19 to version 4.19.138
[openwrt/staging/dedeckeh.git] / target / linux / generic / backport-4.19 / 395-v5.8-net-sch_cake-Take-advantage-of-skb-hash-where-appropriate.patch
index 12962135d05efcb3d331194955f72a817bfd9908..a4981acdee022ced94f6bbeb3f2f6163944eda4b 100644 (file)
@@ -67,7 +67,7 @@ Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
 +      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))
 -              return;
 +              return false;