]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ipv6: default IPV6_SIT to m
authorAlyssa Ross <hi@alyssa.is>
Sun, 3 May 2026 19:25:16 +0000 (21:25 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 6 May 2026 00:31:51 +0000 (17:31 -0700)
This basically defaulted to m until recently, since IPV6 defaulted to
m.  Since IPV6 was changed to a boolean with a default of y, IPV6_SIT
started defaulting to built-in as well.  This results in a surprise
sit0 device by default for defconfig (and defconfig-derived config)
users at boot.  For me, this broke an (admittedly non-robust) script.
Preserve the behaviour of most configs by avoiding building this
module, that's probably overall seldom used compared to IPv6 as a
whole, into the kernel.

Fixes: 309b905deee59 ("ipv6: convert CONFIG_IPV6 to built-in only and clean up Kconfigs")
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de>
Link: https://patch.msgid.link/20260503192515.290900-2-hi@alyssa.is
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/Kconfig

index c024aa77f25ba63585bed749fea4e14bf3378693..c3806c6ac96f95681d78781c4e9c827915006976 100644 (file)
@@ -164,7 +164,7 @@ config IPV6_SIT
        select INET_TUNNEL
        select NET_IP_TUNNEL
        select IPV6_NDISC_NODETYPE
-       default y
+       default m
        help
          Tunneling means encapsulating data of one protocol type within
          another protocol and sending it over a channel that understands the
@@ -172,7 +172,7 @@ config IPV6_SIT
          into IPv4 packets. This is useful if you want to connect two IPv6
          networks over an IPv4-only path.
 
-         Saying M here will produce a module called sit. If unsure, say Y.
+         Saying M here will produce a module called sit. If unsure, say M.
 
 config IPV6_SIT_6RD
        bool "IPv6: IPv6 Rapid Deployment (6RD)"