]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nat: move nlattr parse and xfrm session decode to core
authorFlorian Westphal <fw@strlen.de>
Tue, 19 Feb 2019 16:38:20 +0000 (17:38 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 27 Feb 2019 09:49:42 +0000 (10:49 +0100)
commitc71a99f6017b6bb610e78e69db0aff575ed152bd
tree605aea90de98335f1eb91c32c027833241bd9bfa
parent2e52c9e2180449377e60df07c91f99a1d267307e
netfilter: nat: move nlattr parse and xfrm session decode to core

None of these functions calls any external functions, moving them allows
to avoid both the indirection and a need to export these symbols.

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