mbox series

[0/5] batman-adv: Deprecation of sysfs

Message ID 20190303170259.31798-1-sven@narfation.org
Headers show
Series batman-adv: Deprecation of sysfs | expand

Message

Sven Eckelmann March 3, 2019, 5:02 p.m. UTC
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%)