netfilter: allow nfnetlink built-in only
Subsystems (2)
Pablo Neira Ayuso
maintainerPATCH 1/1 netfilter: allow nfnetlink built-in only
Netfilter has its own netlink multiplexer, initially only a few subsystem were using it, most notably conntrack, queue and log, later in time nf_tables. These days it is the control plane of preference.
Just remove modular support for this, allow it built-in only.
Signed-off-by Pablo Neira Ayuso <[email protected]>
--- net/netfilter/Kconfig | 2 +- net/netfilter/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
net/netfilter/Kconfig +1 -1
@@ -22,7 +22,7 @@ config NETFILTER_SKIP_EGRESS def_bool NETFILTER_EGRESS && (NET_CLS_ACT || IFB) config NETFILTER_NETLINK - tristate + bool config NETFILTER_FAMILY_BRIDGE bool
net/netfilter/Makefile +1 -1
@@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 netfilter-objs := core.o nf_log.o nf_queue.o nf_sockopt.o utils.o +netfilter-$(CONFIG_NETFILTER_NETLINK) += nfnetlink.o nf_conntrack-y := nf_conntrack_core.o nf_conntrack_standalone.o nf_conntrack_expect.o nf_conntrack_helper.o \ nf_conntrack_proto.o nf_conntrack_proto_generic.o nf_conntrack_proto_tcp.o nf_conntrack_proto_udp.o \
@@ -23,7 +24,6 @@ endif obj-$(CONFIG_NETFILTER) = netfilter.o obj-$(CONFIG_NETFILTER_BPF_LINK) += nf_bpf_link.o -obj-$(CONFIG_NETFILTER_NETLINK) += nfnetlink.o obj-$(CONFIG_NETFILTER_NETLINK_ACCT) += nfnetlink_acct.o obj-$(CONFIG_NETFILTER_NETLINK_QUEUE) += nfnetlink_queue.o obj-$(CONFIG_NETFILTER_NETLINK_LOG) += nfnetlink_log.o
Signature · 1 line
2.47.3
Quoted 8 lines · Pablo Neira Ayuso
Netfilter has its own netlink multiplexer, initially only a few subsystem were using it, most notably conntrack, queue and log, later in time
nf_tables. These days it is the control plane of preference.Just remove modular support for this, allow it built-in only.
Signed-off-by Pablo Neira Ayuso <[email protected]>
Makes sense to me.
Reviewed-by Fernando Fernandez Mancera <[email protected]>