RFC: [2.6 patch] disallow modular IPv6

From: Adrian Bunk
Date: Sun Sep 28 2003 - 18:00:55 EST


It seems modular IPv6 doesn't work 100% reliable, e.g. after looking at
the code it doesn't seem to be a good idea to compile a kernel without
IPv6 support and later build and install IPv6 modules. Is there a great
need for modular IPv6 or is the patch below to disallow modular IPv6 OK?

diffstat output:

net/Kconfig | 2 +-
net/sctp/Kconfig | 6 ------
2 files changed, 1 insertion(+), 7 deletions(-)

cu
Adrian


--- linux-2.6.0-test6-full/net/Kconfig.old 2003-09-29 00:53:05.000000000 +0200
+++ linux-2.6.0-test6-full/net/Kconfig 2003-09-29 00:55:55.000000000 +0200
@@ -117,7 +117,7 @@

# IPv6 as module will cause a CRASH if you try to unload it
config IPV6
- tristate "The IPv6 protocol (EXPERIMENTAL)"
+ bool "The IPv6 protocol (EXPERIMENTAL)"
depends on INET && EXPERIMENTAL
---help---
This is experimental support for the next version of the Internet
--- linux-2.6.0-test6-full/net/sctp/Kconfig.old 2003-09-29 00:50:11.000000000 +0200
+++ linux-2.6.0-test6-full/net/sctp/Kconfig 2003-09-29 00:52:55.000000000 +0200
@@ -5,14 +5,8 @@
menu "SCTP Configuration (EXPERIMENTAL)"
depends on INET && EXPERIMENTAL

-config IPV6_SCTP__
- tristate
- default y if IPV6=n
- default IPV6 if IPV6
-
config IP_SCTP
tristate "The SCTP Protocol (EXPERIMENTAL)"
- depends on IPV6_SCTP__
---help---
Stream Control Transmission Protocol

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/