]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: remove ip_conntrack* sysctl compat code
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 12 Aug 2016 11:47:06 +0000 (13:47 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 13 Aug 2016 11:27:13 +0000 (13:27 +0200)
commitadf0516845bcd0e626323c858ece28ee58c74455
treec530dd74ab54fa911e2c9dc44eafc5b31d0aec2b
parentcb1b69b0b15b2897daeba8674c14c85a23a3347f
netfilter: remove ip_conntrack* sysctl compat code

This backward compatibility has been around for more than ten years,
since Yasuyuki Kozakai introduced IPv6 in conntrack. These days, we have
alternate /proc/net/nf_conntrack* entries, the ctnetlink interface and
the conntrack utility got adopted by many people in the user community
according to what I observed on the netfilter user mailing list.

So let's get rid of this.

Note that nf_conntrack_htable_size and unsigned int nf_conntrack_max do
not need to be exported as symbol anymore.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
13 files changed:
include/net/netfilter/nf_conntrack_l4proto.h
include/net/netns/conntrack.h
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c [deleted file]
net/ipv4/netfilter/nf_conntrack_proto_icmp.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_proto.c
net/netfilter/nf_conntrack_proto_generic.c
net/netfilter/nf_conntrack_proto_sctp.c
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/nf_conntrack_proto_udp.c