diff options
author | Florian Westphal <fw@strlen.de> | 2018-06-29 08:46:46 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-07-16 18:54:59 +0300 |
commit | d1b6fe94941f43e4743d5fea953d16b0a001c2c6 (patch) | |
tree | d3967a82e240a44efd89fbceba19354805cda8fd /include/net/netfilter/nf_conntrack_l3proto.h | |
parent | 47a91b14de62e35d1466820cbb4c024b6c02dff1 (diff) | |
download | linux-d1b6fe94941f43e4743d5fea953d16b0a001c2c6.tar.xz |
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>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_l3proto.h')
-rw-r--r-- | include/net/netfilter/nf_conntrack_l3proto.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/net/netfilter/nf_conntrack_l3proto.h b/include/net/netfilter/nf_conntrack_l3proto.h index ece231450f30..164641c743a5 100644 --- a/include/net/netfilter/nf_conntrack_l3proto.h +++ b/include/net/netfilter/nf_conntrack_l3proto.h @@ -25,13 +25,6 @@ struct nf_conntrack_l3proto { u16 nla_size; /* - * Invert the per-proto part of the tuple: ie. turn xmit into reply. - * Some packets can't be inverted: return 0 in that case. - */ - bool (*invert_tuple)(struct nf_conntrack_tuple *inverse, - const struct nf_conntrack_tuple *orig); - - /* * Called before tracking. * *dataoff: offset of protocol header (TCP, UDP,...) in skb * *protonum: protocol number |