netfilter: add and use nf_ct_set helper
authorFlorian Westphal <fw@strlen.de>
Mon, 23 Jan 2017 17:21:57 +0000 (18:21 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 2 Feb 2017 13:31:54 +0000 (14:31 +0100)
commitc74454fadd5ea6fc866ffe2c417a0dba56b2bf1c
tree7e2ab906478778bc0733840c6e5cc46bfceeda4c
parentcb9c68363efb6d1f950ec55fb06e031ee70db5fc
netfilter: add and use nf_ct_set helper

Add a helper to assign a nf_conn entry and the ctinfo bits to an sk_buff.
This avoids changing code in followup patch that merges skb->nfct and
skb->nfctinfo into skb->_nfct.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
12 files changed:
include/net/ip_vs.h
include/net/netfilter/nf_conntrack.h
net/ipv4/netfilter/ipt_SYNPROXY.c
net/ipv4/netfilter/nf_conntrack_proto_icmp.c
net/ipv4/netfilter/nf_dup_ipv4.c
net/ipv6/netfilter/ip6t_SYNPROXY.c
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
net/ipv6/netfilter/nf_dup_ipv6.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nft_ct.c
net/netfilter/xt_CT.c
net/openvswitch/conntrack.c