Skip to contentSkip to conversation

netfilter: Remove some backward-compat Kconfig symbols

PATCH In review Ben Hutchings 2 participants 2 messages Dec 29, 2013 – Jan 3, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netfilter: Remove some backward-compat Kconfig symbols

Since Linux 3.4 or earlier, CONFIG_IP_NF_MATCH_ECN, CONFIG_IP_NF_MATCH_TTL, CONFIG_IP_NF_TARGET_TTL have just selected the xtables replacements for these symbols. They should not be needed any more.

---
 net/ipv4/netfilter/Kconfig | 27 ---------------------------
 1 file changed, 27 deletions(-)
net/ipv4/netfilter/Kconfig +0 -27
index 1657e39b..a6cedb0 100644
@@ -60,15 +60,6 @@ config IP_NF_MATCH_AH
 
 	  To compile it as a module, choose M here.  If unsure, say N.
 
-config IP_NF_MATCH_ECN
-	tristate '"ecn" match support'
-	depends on NETFILTER_ADVANCED
-	select NETFILTER_XT_MATCH_ECN
-	---help---
-	This is a backwards-compat option for the user's convenience
-	(e.g. when running oldconfig). It selects
-	CONFIG_NETFILTER_XT_MATCH_ECN.
-
 config IP_NF_MATCH_RPFILTER
 	tristate '"rpfilter" reverse path filter match support'
 	depends on NETFILTER_ADVANCED && (IP_NF_MANGLE || IP_NF_RAW)
@@ -79,15 +70,6 @@ config IP_NF_MATCH_RPFILTER
 	  To compile it as a module, choose M here.  If unsure, say N.
 	  The module will be called ipt_rpfilter.
 
-config IP_NF_MATCH_TTL
-	tristate '"ttl" match support'
-	depends on NETFILTER_ADVANCED
-	select NETFILTER_XT_MATCH_HL
-	---help---
-	This is a backwards-compat option for the user's convenience
-	(e.g. when running oldconfig). It selects
-	CONFIG_NETFILTER_XT_MATCH_HL.
-
 # `filter', generic and specific targets
 config IP_NF_FILTER
 	tristate "Packet filtering"
@@ -268,15 +250,6 @@ config IP_NF_TARGET_ECN
 
 	  To compile it as a module, choose M here.  If unsure, say N.
 
-config IP_NF_TARGET_TTL
-	tristate '"TTL" target support'
-	depends on NETFILTER_ADVANCED && IP_NF_MANGLE
-	select NETFILTER_XT_TARGET_HL
-	---help---
-	This is a backwards-compatible option for the user's convenience
-	(e.g. when running oldconfig). It selects
-	CONFIG_NETFILTER_XT_TARGET_HL.
-
 # raw + specific targets
 config IP_NF_RAW
 	tristate  'raw table support (required for NOTRACK/TRACE)'
Signature · 2 lines
Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky
#1 lore raw
Quoted 4 lines · Ben Hutchings

Since Linux 3.4 or earlier, CONFIG_IP_NF_MATCH_ECN, CONFIG_IP_NF_MATCH_TTL, CONFIG_IP_NF_TARGET_TTL have just selected the xtables replacements for these symbols. They should not be needed any more.

3.2-stable is already in place, I think those users can still benefit from this compat stuff.