Thread (26 messages) 26 messages, 6 authors, 2026-03-19

Re: [PATCH 01/10 net-next v3] ipv6: convert CONFIG_IPV6 to built-in only and clean up Kconfigs

From: Ricardo B. Marlière <hidden>
Date: 2026-03-18 09:50:57
Also in: bridge, gfs2, linux-m68k, linux-rdma, linux-scsi, linux-sctp, lkml, netfilter-devel

On Wed Mar 18, 2026 at 3:51 AM -03, Krzysztof Kozlowski wrote:
On 17/03/2026 15:00, Fernando Fernandez Mancera wrote:
quoted
Maintaining a modular IPv6 stack offers image size savings for specific
setups, this benefit is outweighed by the architectural burden it
imposes on the subsystems on implementation and maintenance. Therefore,
drop it.

Change CONFIG_IPV6 from tristate to bool. Remove all Kconfig
dependencies across the tree that explicitly checked for IPV6=m. In
addition, remove MODULE_DESCRIPTION(), MODULE_ALIAS(), MODULE_AUTHOR()
and MODULE_LICENSE().

This is also replacing module_init() by device_initcall(). It is not
possible to use fs_initcall() as IPv4 does because that creates a race
condition on IPv6 addrconf.

Finally, modify the default configs from CONFIG_IPV6=m to CONFIG_IPV6=y
except for m68k as according to the bloat-o-meter the image is
increasing by 330KB~ and that isn't acceptable. Instead, disable IPv6 on
this architecture by default. This is aligned with m68k RAM requirements
and recommendations [1].

[1] http://www.linux-m68k.org/faq/ram.html

Signed-off-by: Fernando Fernandez Mancera <redacted>
Tested-by: Ricardo B. Marlière <redacted>
That's a Kconfig/defconfig only patch, so build system. You cannot test
it in a meaning of testing code. Building code is not testing.
Should I have sent 9 emails instead of 1 to the whole series?
quoted
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
You removed important parts of Ack. It was not provided like that.

Best regards,
Krzysztof
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help