diff options
| author | Florian Westphal <fw@strlen.de> | 2017-01-23 18:21:56 +0100 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-02-02 14:31:53 +0100 |
| commit | cb9c68363efb6d1f950ec55fb06e031ee70db5fc (patch) | |
| tree | 081b7de4d5d3bb069beeaa17328f068686aae810 /net/netfilter/xt_CT.c | |
| parent | netfilter: reduce direct skb->nfct usage (diff) | |
| download | linux-cb9c68363efb6d1f950ec55fb06e031ee70db5fc.tar.gz linux-cb9c68363efb6d1f950ec55fb06e031ee70db5fc.zip | |
skbuff: add and use skb_nfct helper
Followup patch renames skb->nfct and changes its type so add a helper to
avoid intrusive rename change later.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_CT.c')
| -rw-r--r-- | net/netfilter/xt_CT.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_CT.c b/net/netfilter/xt_CT.c index 26b0bccfa0c5..cd7e29910ae1 100644 --- a/net/netfilter/xt_CT.c +++ b/net/netfilter/xt_CT.c @@ -415,7 +415,7 @@ notrack_tg(struct sk_buff *skb, const struct xt_action_param *par) skb->nfct = &nf_ct_untracked_get()->ct_general; skb->nfctinfo = IP_CT_NEW; - nf_conntrack_get(skb->nfct); + nf_conntrack_get(skb_nfct(skb)); return XT_CONTINUE; } |
