netfilter: conntrack: remove invert_tuple indirection from l3 protocol trackers
authorFlorian Westphal <fw@strlen.de>
Fri, 29 Jun 2018 05:46:46 +0000 (07:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Jul 2018 15:54:59 +0000 (17:54 +0200)
commitd1b6fe94941f43e4743d5fea953d16b0a001c2c6
treed3967a82e240a44efd89fbceba19354805cda8fd
parent47a91b14de62e35d1466820cbb4c024b6c02dff1
netfilter: conntrack: remove invert_tuple indirection from l3 protocol trackers

Its simpler to just handle it directly in nf_ct_invert_tuple().
Also gets rid of need to pass l3proto pointer to resolve_conntrack().

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_core.h
include/net/netfilter/nf_conntrack_l3proto.h
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv4/netfilter/nf_conntrack_proto_icmp.c
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_l3proto_generic.c