netfilter: conntrack: move code to linux/nf_conntrack_common.h.
authorJeremy Sowden <jeremy@azazel.net>
Fri, 13 Sep 2019 08:13:14 +0000 (09:13 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 Sep 2019 10:47:11 +0000 (12:47 +0200)
commit261db6c2fbd64a2e649fdfa5f75cf161c384d110
tree97b35b77f16dab116d15560f0a27559bd0cecdb2
parentf1815650b547db745bef35f74395e113fcf62cac
netfilter: conntrack: move code to linux/nf_conntrack_common.h.

Move some `struct nf_conntrack` code from linux/skbuff.h to
linux/nf_conntrack_common.h.  Together with a couple of helpers for
getting and setting skb->_nfct, it allows us to remove
CONFIG_NF_CONNTRACK checks from net/netfilter/nf_conntrack.h.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/nf_conntrack_common.h
include/linux/skbuff.h
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_standalone.c