]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/sched/cls_flow.c
skbuff: add and use skb_nfct helper
[mirror_ubuntu-artful-kernel.git] / net / sched / cls_flow.c
index 6575aba87630a24052a6374ddfceef1ce597144d..3d6b9286c203f298b14b5254e5c12cb4781eb4b1 100644 (file)
@@ -129,7 +129,7 @@ static u32 flow_get_mark(const struct sk_buff *skb)
 static u32 flow_get_nfct(const struct sk_buff *skb)
 {
 #if IS_ENABLED(CONFIG_NF_CONNTRACK)
-       return addr_fold(skb->nfct);
+       return addr_fold(skb_nfct(skb));
 #else
        return 0;
 #endif