[B.A.T.M.A.N.] [PATCH 0/5] batman-adv: Deprecation of sysfs

Sven Eckelmann sven at narfation.org
Sun Mar 3 18:02:54 CET 2019


The old sysfs configuration interface was frowned upon by other kernel
developers. To work around this problem, the sysfs files were replaced by
the batadv generic netlink family. Still they are currently available
as alternative interface.

These files cannot be removed immediately because userspace tools might
still depend on it. Instead schedule for its removal in 2021. To aid
userspace tool developers, warn them when these files are still accessed
and provide an option to build batman-adv without sysfs support.

Kind regards,
	Sven

Sven Eckelmann (5):
  batman-adv: Drop documentation about debugfs files
  batman-adv: Drop documentation about sysfs files
  batman-adv: Make sysfs support optional
  batman-adv: ABI: Mark sysfs files as deprecated
  batman-adv: Warn about sysfs file access

 .../sysfs-class-net-batman-adv                |   2 +
 .../sysfs-class-net-mesh                      |   2 +
 Documentation/networking/batman-adv.rst       | 110 +++++------------
 MAINTAINERS                                   |   4 +-
 Makefile                                      |   3 +
 README.external.rst                           |   1 +
 gen-compat-autoconf.sh                        |   3 +-
 net/batman-adv/Kconfig                        |  12 ++
 net/batman-adv/Makefile                       |   2 +-
 net/batman-adv/bridge_loop_avoidance.c        |   1 -
 net/batman-adv/gateway_client.c               |   1 -
 net/batman-adv/main.c                         |  73 +++++++++++
 net/batman-adv/main.h                         |   2 +
 net/batman-adv/sysfs.c                        | 116 +++++++-----------
 net/batman-adv/sysfs.h                        |  38 +++++-
 15 files changed, 210 insertions(+), 160 deletions(-)
 rename Documentation/ABI/{testing => obsolete}/sysfs-class-net-batman-adv (92%)
 rename Documentation/ABI/{testing => obsolete}/sysfs-class-net-mesh (97%)

-- 
2.20.1



More information about the B.A.T.M.A.N mailing list