diff options
Diffstat (limited to 'datapath/conntrack.c')
-rw-r--r-- | datapath/conntrack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/datapath/conntrack.c b/datapath/conntrack.c index 3c51ce6bc..4a1b1ba69 100644 --- a/datapath/conntrack.c +++ b/datapath/conntrack.c @@ -762,8 +762,8 @@ static int __ovs_ct_lookup(struct net *net, struct sw_flow_key *key, /* Associate skb with specified zone. */ if (tmpl) { - if (skb->nfct) - nf_conntrack_put(skb->nfct); + if (skb_nfct(skb)) + nf_conntrack_put(skb_nfct(skb)); nf_conntrack_get(&tmpl->ct_general); skb->nfct = &tmpl->ct_general; skb->nfctinfo = IP_CT_NEW; @@ -864,7 +864,7 @@ static int ovs_ct_lookup(struct net *net, struct sw_flow_key *key, if (err) return err; - ct = (struct nf_conn *)skb->nfct; + ct = (struct nf_conn *)skb_nfct(skb); if (ct) nf_ct_deliver_cached_events(ct); } |