]> 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)
commit239484730f35234a1fe0f2e80c91c99b700811fa
tree292aa3df79676ddf2cf06b9d8fb9ae6ea8e376de
parent52f5e657ab5714ed6d5f42ea10c28067ce51455e
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]