Skip to content

batman-adv: Deprecation of sysfs

Sven Eckelmann batman 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5batman-adv: Drop documentation about debugfs filesDocumentation/networking/batman-adv.rst+9 -200 replies
2/5batman-adv: Drop documentation about sysfs filesDocumentation/networking/batman-adv.rst+24 -670 replies
3/5batman-adv: Make sysfs support optionalMakefile README.external.rst gen-compat-autoconf.sh +8 more+130 -760 replies
4/5batman-adv: ABI: Mark sysfs files as deprecatedDocumentation/ABI/obsolete/sysfs-class-net-batman-adv Documentation/ABI/obsolete/sysfs-class-net-mesh MAINTAINERS+6 -20 replies
5/5batman-adv: Warn about sysfs file accessnet/batman-adv/sysfs.c+46 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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%)
Signature · 1 line
2.20.1