batman-adv: add generic netlink family for batman-adv
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 9 May 2016 16:41:08 +0000 (18:41 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Mon, 4 Jul 2016 10:37:17 +0000 (12:37 +0200)
commit09748a22f4ab7b0ab5a83c432f6e18f65f18e09b
tree292aa3df79676ddf2cf06b9d8fb9ae6ea8e376de
parenta2d0816608df1ca69fcdbb9135a2b6df0c65d954
batman-adv: add generic netlink family for batman-adv

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@universe-factory.net>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
[sven.eckelmann@open-mesh.com: Strip down patch to only add genl family,
add missing kerneldoc]
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
MAINTAINERS
include/uapi/linux/batman_adv.h [new file with mode: 0644]
net/batman-adv/Makefile
net/batman-adv/main.c
net/batman-adv/netlink.c [new file with mode: 0644]
net/batman-adv/netlink.h [new file with mode: 0644]