]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd38b4f5d91a1b9063c640d664a33abd96f8249c0
tree292aa3df79676ddf2cf06b9d8fb9ae6ea8e376de
parentcdf41f4a9f3bef0118a28ad5c43954dd7a515ca4
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]