b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH 0/3] batctl: Add netlink support for sysfs-only functionality
@ 2019-04-03 18:01 Sven Eckelmann
  2019-04-03 18:01 ` [B.A.T.M.A.N.] [PATCH 1/3] batctl: Support checking of meshif without sysfs Sven Eckelmann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sven Eckelmann @ 2019-04-03 18:01 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi,

some functionality in batctl was previously using sysfs to implement some
of its features. Since the sysfs support can now be disabled in the kernel,
these features were broken in such setups. This was especially problematic
for functionality which depends on the main mesh interface. The check to
make sure that this is interface is a valid batadv interface were
exclusively using sysfs.

Switching them to (or actually extending them to support) netlink should
fix this. The old sysfs functionality is still here but can be removed in
the future.

Kind regards,
	Sven

Sven Eckelmann (3):
  batctl: Support checking of meshif without sysfs
  batctl: Reimplement VLAN translation using helper
  batctl: Add netlink fallback for sysfs' iface_status

 debug.c     |   2 +-
 functions.c | 407 ++++++++++++++++++++++++++++++----------------------
 functions.h |   2 +-
 interface.c |  92 +++++++++++-
 4 files changed, 331 insertions(+), 172 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-03 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 18:01 [B.A.T.M.A.N.] [PATCH 0/3] batctl: Add netlink support for sysfs-only functionality Sven Eckelmann
2019-04-03 18:01 ` [B.A.T.M.A.N.] [PATCH 1/3] batctl: Support checking of meshif without sysfs Sven Eckelmann
2019-04-03 18:01 ` [B.A.T.M.A.N.] [PATCH 2/3] batctl: Reimplement VLAN translation using helper Sven Eckelmann
2019-04-03 18:01 ` [B.A.T.M.A.N.] [PATCH 3/3] batctl: Add netlink fallback for sysfs' iface_status Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).