batman-adv: enable DAT by default at compile time

Message ID 20180603105203.29083-1-a@unstable.cc (mailing list archive)
State Accepted, archived
Delegated to: Simon Wunderlich
Headers
Series batman-adv: enable DAT by default at compile time |

Commit Message

Antonio Quartulli June 3, 2018, 10:52 a.m. UTC
  DAT (Distributed ARP Table) has been enabled by default
in the out-of-tree batman-adv kernel module for several
years already.
It can now be enabled in the kernel too.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
---

This patch will obviously confict with
("batman-adv: Remove "default n" in Kconfig")

 net/batman-adv/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Sven Eckelmann July 17, 2018, 5:59 p.m. UTC | #1
On Sonntag, 3. Juni 2018 12:52:03 CEST Antonio Quartulli wrote:
> DAT (Distributed ARP Table) has been enabled by default
> in the out-of-tree batman-adv kernel module for several
> years already.
> It can now be enabled in the kernel too.
> 
> Signed-off-by: Antonio Quartulli <a@unstable.cc>
> ---

Added as ab4e58534dee [1]

Thanks,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/5d454c9eb1cce80ca441a3daaf73062f816bd082
  

Patch

diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig
index de8034d8..770894eb 100644
--- a/net/batman-adv/Kconfig
+++ b/net/batman-adv/Kconfig
@@ -60,7 +60,7 @@  config BATMAN_ADV_BLA
 config BATMAN_ADV_DAT
 	bool "Distributed ARP Table"
 	depends on BATMAN_ADV && INET
-	default n
+	default y
 	help
 	  This option enables DAT (Distributed ARP Table), a DHT based
 	  mechanism that increases ARP reliability on sparse wireless