netfilter: remnants of ulog targets
Subsystems (4)
Pablo,
Your commit 7200135bc1e6 ("netfilter: kill ulog targets") landed in today's linux-next (ie, next-20140723). It removes two Kconfig symbols:IP_NF_TARGET_ULOG and BRIDGE_EBT_ULOG.
It left a few references to the related macros untouched:
$ git grep -n -e IP_NF_TARGET_ULOG -e BRIDGE_EBT_ULOG next-20140723 | grep -v defconf
next-20140723:include/net/netns/x_tables.h:18:#if IS_ENABLED(CONFIG_IP_NF_TARGET_ULOG)
next-20140723:include/net/netns/x_tables.h:21:#if IS_ENABLED(CONFIG_BRIDGE_EBT_ULOG)
next-20140723:net/bridge/netfilter/Makefile:39:obj-$(CONFIG_BRIDGE_EBT_ULOG) += ebt_ulog.o
next-20140723:net/ipv4/netfilter/Makefile:60:obj-$(CONFIG_IP_NF_TARGET_ULOG) += ipt_ULOG.oIs the trivial patch to clean up these remnants of the ulog targets queued somewhere? If not, should I submit it?
Paul Bolle
Pablo Neira Ayuso
maintainerQuoted 7 lines · Paul Bolle
Pablo,
Your commit
7200135bc1e6("netfilter: kill ulog targets") landed in today's linux-next (ie, next-20140723). It removes twoKconfigsymbols:IP_NF_TARGET_ULOGandBRIDGE_EBT_ULOG.It left a few references to the related macros untouched:
Quoted 8 lines
$ git grep -n -e IP_NF_TARGET_ULOG -e BRIDGE_EBT_ULOG next-20140723 | grep -v defconf next-20140723:include/net/netns/x_tables.h:18:#if IS_ENABLED(CONFIG_IP_NF_TARGET_ULOG) next-20140723:include/net/netns/x_tables.h:21:#if IS_ENABLED(CONFIG_BRIDGE_EBT_ULOG) next-20140723:net/bridge/netfilter/Makefile:39:obj-$(CONFIG_BRIDGE_EBT_ULOG) += ebt_ulog.o next-20140723:net/ipv4/netfilter/Makefile:60:obj-$(CONFIG_IP_NF_TARGET_ULOG) += ipt_ULOG.oIs the trivial patch to clean up these remnants of the ulog targets queued somewhere? If not, should I submit it?
Yes, you can send me a patch to kill that dead code. Thanks.
PATCH 1/1 netfilter: kill remnants of ulog targets
The ulog targets were recently killed. A few references to the Kconfig macros CONFIG_IP_NF_TARGET_ULOG and CONFIG_BRIDGE_EBT_ULOG were left untouched. Kill these too.
---
Note that ulog_warn_deprecated and ebt_ulog_warn_deprecated do not exist anymore. Neither do */ebt_ulog.c and */ipt_ULOG.c.
include/net/netns/x_tables.h | 6 ------ net/bridge/netfilter/Makefile | 1 - net/ipv4/netfilter/Makefile | 1 - 3 files changed, 8 deletions(-)
include/net/netns/x_tables.h +0 -6
@@ -15,11 +15,5 @@ struct netns_xt {struct ebt_table *frame_filter;struct ebt_table *frame_nat; #endif -#if IS_ENABLED (CONFIG_IP_NF_TARGET_ULOG ) -bool ulog_warn_deprecated; -#endif -#if IS_ENABLED (CONFIG_BRIDGE_EBT_ULOG ) -bool ebt_ulog_warn_deprecated; -#endif };#endif
net/bridge/netfilter/Makefile +0 -1
@@ -36,5 +36,4 @@ obj-$(CONFIG_BRIDGE_EBT_SNAT) += ebt_snat.o # watchers obj-$(CONFIG_BRIDGE_EBT_LOG) += ebt_log.o -obj-$(CONFIG_BRIDGE_EBT_ULOG) += ebt_ulog.o obj-$(CONFIG_BRIDGE_EBT_NFLOG) += ebt_nflog.o
net/ipv4/netfilter/Makefile +0 -1
@@ -57,7 +57,6 @@ obj-$(CONFIG_IP_NF_TARGET_ECN) += ipt_ECN.o obj-$(CONFIG_IP_NF_TARGET_MASQUERADE) += ipt_MASQUERADE.o obj-$(CONFIG_IP_NF_TARGET_REJECT) += ipt_REJECT.o obj-$(CONFIG_IP_NF_TARGET_SYNPROXY) += ipt_SYNPROXY.o -obj-$(CONFIG_IP_NF_TARGET_ULOG) += ipt_ULOG.o # generic ARP tables obj-$(CONFIG_IP_NF_ARPTABLES) += arp_tables.o
Signature · 1 line
1.9.3
Pablo Neira Ayuso
maintainerRe: [PATCH] [linux-next] netfilter: kill remnants of ulog targets
Quoted 3 lines · Paul Bolle
The ulog targets were recently killed. A few references to the
KconfigmacrosCONFIG_IP_NF_TARGET_ULOGandCONFIG_BRIDGE_EBT_ULOGwere left untouched. Kill these too.
Those were my fault, applied, thanks Paul.