Re: [PATCH 01/13 net-next] net: ipv4: introduce CONFIG_IPV4 to decouple the IPv4 stack

From
Sven Eckelmann <sven@narfation.org>
Date
2026-09-10 16:57:11
Also in
batman, bridge, intel-wired-lan, linux-fsdevel, linux-nfs, linux-nvme, linux-rdma, linux-s390, linux-scsi, linux-sctp, linux-wireless, lkml, lvs-devel, mptcp, netdev, netfilter-devel, target-devel
Reply to
Fernando Fernandez Mancera, 2026-09-10
On Thursday, 10 September 2026 16:48:26 CEST Fernando Fernandez Mancera wrote:
quoted hunk ↗ jump to hunk
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

Attachments

Thread (12 messages) 12 messages, 6 authors, last reply 2026-09-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help