]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Trigger genl notification on sysfs config change
authorSven Eckelmann <sven@narfation.org>
Fri, 23 Nov 2018 15:07:12 +0000 (16:07 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sat, 9 Feb 2019 13:28:15 +0000 (14:28 +0100)
commite3797588a15245df8cd3f4900ad6d05f057833a1
tree5296a62240edac69b4877e3d9f55c26fde294cff
parent6e17a8319f25f5ce2609f27a6b01e9552ec084e0
batman-adv: Trigger genl notification on sysfs config change

The generic netlink code is expected to trigger notification messages when
configuration might have been changed. But the configuration of batman-adv
is most of the time still done using sysfs. So the sysfs interface should
also trigger the corresponding netlink messages via the "config" multicast
group.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/netlink.c
net/batman-adv/netlink.h
net/batman-adv/sysfs.c