diff mbox series

net/netfilter/Kconfig: use 'default y' instead of 'm' for bool config option

Message ID 20211005205454.20244-1-vegard.nossum@oracle.com
State Accepted
Delegated to: Pablo Neira
Headers show
Series net/netfilter/Kconfig: use 'default y' instead of 'm' for bool config option | expand

Commit Message

Vegard Nossum Oct. 5, 2021, 8:54 p.m. UTC
From: Vegard Nossum <vegard.nossum@gmail.com>

This option, NF_CONNTRACK_SECMARK, is a bool, so it can never be 'm'.

Fixes: 33b8e77605620 ("[NETFILTER]: Add CONFIG_NETFILTER_ADVANCED option")
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
---
 net/netfilter/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pablo Neira Ayuso Oct. 7, 2021, 5:39 p.m. UTC | #1
On Tue, Oct 05, 2021 at 10:54:54PM +0200, Vegard Nossum wrote:
> From: Vegard Nossum <vegard.nossum@gmail.com>
> 
> This option, NF_CONNTRACK_SECMARK, is a bool, so it can never be 'm'.

Applied.
diff mbox series

Patch

diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index 54395266339d7..92a747896f808 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -109,7 +109,7 @@  config NF_CONNTRACK_MARK
 config NF_CONNTRACK_SECMARK
 	bool  'Connection tracking security mark support'
 	depends on NETWORK_SECMARK
-	default m if NETFILTER_ADVANCED=n
+	default y if NETFILTER_ADVANCED=n
 	help
 	  This option enables security markings to be applied to
 	  connections.  Typically they are copied to connections from