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)
commit7e6f461efe2554e35b740f3faea2994fc9551947
tree5296a62240edac69b4877e3d9f55c26fde294cff
parent9a182242f17c06fad620663e6fdf992e97661e66
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