netfilter: nat: fold in_range indirection into caller
authorFlorian Westphal <fw@strlen.de>
Thu, 13 Dec 2018 15:01:30 +0000 (16:01 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Dec 2018 22:33:09 +0000 (23:33 +0100)
commit40e786bd296d5517b1f6c4bcc9ed13e502606ced
tree33844a6bd7926b4bbc5b4ffbc897384405d5f456
parent203f2e78200c27e42e9f7d063091f950bf5fe4a0
netfilter: nat: fold in_range indirection into caller

No need for indirections here, we only support ipv4 and ipv6
and the called functions are very small.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_l3proto.h
net/ipv4/netfilter/nf_nat_l3proto_ipv4.c
net/ipv6/netfilter/nf_nat_l3proto_ipv6.c
net/netfilter/nf_nat_core.c