[B.A.T.M.A.N.] [PATCH v7 1/4] batman-adv: add generic netlink family for batman-adv
mareklindner at neomailbox.ch
Tue May 10 17:28:45 CEST 2016
On Monday, May 09, 2016 18:41:08 Sven Eckelmann wrote:
> From: Matthias Schiffer <mschiffer at universe-factory.net>
> debugfs is currently severely broken virtually everywhere in the kernel
> where files are dynamically added and removed (see
> http://lkml.iu.edu/hypermail/linux/kernel/1506.1/02196.html for some
> details). In addition to that, debugfs is not namespace-aware.
> Instead of adding new debugfs entries, the whole infrastructure should be
> moved to netlink. This will fix the long standing problem of large buffers
> for debug tables and hard to parse text files.
> Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> [sven.eckelmann at open-mesh.com: Strip down patch to only add genl family,
> add missing kerneldoc]
> Signed-off-by: Sven Eckelmann <sven.eckelmann at open-mesh.com>
> MAINTAINERS | 1 +
> Makefile | 1 +
> compat-include/net/genetlink.h | 34 ++++++++++++++++++++++++
> include/uapi/linux/batman_adv.h | 53 ++++++++++++++++++++++++++++++++++++++
> net/batman-adv/Makefile | 1 +
> net/batman-adv/main.c | 3 +++
> net/batman-adv/netlink.c | 57
> +++++++++++++++++++++++++++++++++++++++++ net/batman-adv/netlink.h |
> 24 +++++++++++++++++
> 8 files changed, 174 insertions(+)
> create mode 100644 compat-include/net/genetlink.h
> create mode 100644 include/uapi/linux/batman_adv.h
> create mode 100644 net/batman-adv/netlink.c
> create mode 100644 net/batman-adv/netlink.h
Applied in revision 2b20eb5.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: This is a digitally signed message part.
More information about the B.A.T.M.A.N