]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Make sysfs support optional
authorSven Eckelmann <sven@narfation.org>
Sun, 3 Mar 2019 17:02:57 +0000 (18:02 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Mon, 25 Mar 2019 09:01:11 +0000 (10:01 +0100)
commit3a547ce5bb359477108902c44e8a5c7460e07014
tree62adc48c8c76c2bd9e2be981a95bc734f2e8a149
parent002117509bf674a010173e1a38f3e950ac2681a4
batman-adv: Make sysfs support optional

The sysfs files will be marked as deprecated in the near future. They are
already replaced by the batadv generic netlink family. Add an Kconfig
option to disable the sysfs support for users who want to test their tools
or want to safe some space. This setting should currently still be enabled
by default to keep backward compatible with legacy tools.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/Kconfig
net/batman-adv/Makefile
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/gateway_client.c
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/sysfs.c
net/batman-adv/sysfs.h