netfilter: built-in NAT support for SCTP
authorDavide Caratti <dcaratti@redhat.com>
Thu, 20 Oct 2016 16:33:02 +0000 (18:33 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 4 Dec 2016 19:45:31 +0000 (20:45 +0100)
commit7a2dd28c703408ef27d6fe6a4fcd7c58968ce3bf
tree4176689c03c59f9c6f77de239c1036ea21dfe582
parent0c4e966eafff8253bec545d8c27b9efa231c1f62
netfilter: built-in NAT support for SCTP

CONFIG_NF_NAT_PROTO_SCTP is no more a tristate. When set to y, NAT
support for SCTP protocol is built-in into nf_nat.ko.

footprint test:

(nf_nat_proto_)           | sctp   || nf_nat
--------------------------+--------++--------
no builtin                | 428344 || 2241312
SCTP builtin              |   -    || 2597032

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_l4proto.h
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nf_nat_core.c
net/netfilter/nf_nat_proto_sctp.c