On 09/03/2026 03:19, Fernando Fernandez Mancera wrote: > Configuring IPV6 as a module provides little or no benefit and requires > time and resources to maintain. Therefore, drop the support for it. > > Change CONFIG_IPV6 from tristate to bool. Remove all Kconfig > dependencies across the tree that explicitly checked for IPV6=m. Adjust > all the default configurations from CONFIG_IPV6=m to CONFIG_IPV6=y. In > addition, remove MODULE_DESCRIPTION(), MODULE_ALIAS(), MODULE_AUTHOR() > and MODULE_LICENSE(). > > This is also replacing module_init() by fs_initcall(). > > Signed-off-by: Fernando Fernandez Mancera <[email protected]> > --- > arch/arm64/configs/defconfig | 2 +- > arch/m68k/configs/amiga_defconfig | 2 +- > arch/m68k/configs/apollo_defconfig | 2 +- > arch/m68k/configs/atari_defconfig | 2 +- > arch/m68k/configs/bvme6000_defconfig | 2 +- > arch/m68k/configs/hp300_defconfig | 2 +- > arch/m68k/configs/mac_defconfig | 2 +- > arch/m68k/configs/multi_defconfig | 2 +- > arch/m68k/configs/mvme147_defconfig | 2 +- > arch/m68k/configs/mvme16x_defconfig | 2 +- > arch/m68k/configs/q40_defconfig | 2 +- > arch/m68k/configs/sun3_defconfig | 2 +- > arch/m68k/configs/sun3x_defconfig | 2 +- > drivers/infiniband/Kconfig | 1 - > drivers/infiniband/hw/ocrdma/Kconfig | 2 +- > drivers/infiniband/ulp/ipoib/Kconfig | 2 +- > drivers/net/Kconfig | 9 --------- > drivers/net/ethernet/broadcom/Kconfig | 2 +- > drivers/net/ethernet/chelsio/Kconfig | 2 +- > drivers/net/ethernet/mellanox/mlxsw/Kconfig | 1 - > drivers/net/ethernet/netronome/Kconfig | 1 - > drivers/scsi/bnx2fc/Kconfig | 1 - > drivers/scsi/bnx2i/Kconfig | 1 - > drivers/scsi/cxgbi/cxgb3i/Kconfig | 2 +- > drivers/scsi/cxgbi/cxgb4i/Kconfig | 2 +- > fs/dlm/Kconfig | 2 +- > fs/gfs2/Kconfig | 2 +- > net/bridge/Kconfig | 1 - > net/ipv4/Kconfig | 9 ++++----- > net/ipv6/Kconfig | 6 +----- > net/ipv6/af_inet6.c | 8 +------- > net/l2tp/Kconfig | 1 - > net/netfilter/Kconfig | 8 -------- > net/rxrpc/Kconfig | 2 +- > net/sctp/Kconfig | 1 - > net/tipc/Kconfig | 1 - > 36 files changed, 28 insertions(+), 65 deletions(-) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index b67d5b1fc45b..0651a771f5c1 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -140,7 +140,7 @@ CONFIG_IP_MULTICAST=y > CONFIG_IP_PNP=y > CONFIG_IP_PNP_DHCP=y > CONFIG_IP_PNP_BOOTP=y > -CONFIG_IPV6=m > +CONFIG_IPV6=y > CONFIG_NETFILTER=y > CONFIG_BRIDGE_NETFILTER=m > CONFIG_NF_CONNTRACK=m
No, I don't want IPV6. It is allowed as module if some users need, but it's heavy bloat added to each person's build testing setup. Kernel image is already huge and barely fits boot partitions when built with KASAN and I do want a generic image with KASAN. It must stay module for me. Alternatively, drop it, but then some users will be really affected. Best regards, Krzysztof
