Re: [PATCH 01/13 net-next] net: ipv4: introduce CONFIG_IPV4 to decouple the IPv4 stack
From: Sven Eckelmann
Date: Thu Sep 10 2026 - 13:09:09 EST
On Thursday, 10 September 2026 16:48:26 CEST Fernando Fernandez Mancera wrote:
> diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig
> index 58c408b7a7d9..60ad4b09be6e 100644
> --- a/net/batman-adv/Kconfig
> +++ b/net/batman-adv/Kconfig
> @@ -9,6 +9,7 @@
>
> config BATMAN_ADV
> tristate "B.A.T.M.A.N. Advanced Meshing Protocol"
> + depends on IPV4
> select CRC32
> help
> B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is
This doesn't make a lot of sense to me IPV4 is not a requirement for
batman-adv. Only very specific features will require symbols from IPv4:
* CONFIG_BATMAN_ADV_BLA
- arp_create
* CONFIG_BATMAN_ADV_DAT
- arp_create
* CONFIG_BATMAN_ADV_MCAST
- ip_mc_check_igmp
Basically things which currently depend on INET in net/batman-adv/Kconfig
Or am I missing something here?
Regards,
Sven
Attachment:
signature.asc
Description: This is a digitally signed message part.