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>
このコミットが含まれているのは:
@@ -385,7 +385,7 @@ nla_put_failure:
|
||||
*
|
||||
* Return: 0 on success, < 0 on error
|
||||
*/
|
||||
static int batadv_netlink_notify_mesh(struct batadv_priv *bat_priv)
|
||||
int batadv_netlink_notify_mesh(struct batadv_priv *bat_priv)
|
||||
{
|
||||
struct sk_buff *msg;
|
||||
int ret;
|
||||
@@ -852,8 +852,8 @@ nla_put_failure:
|
||||
*
|
||||
* Return: 0 on success, < 0 on error
|
||||
*/
|
||||
static int batadv_netlink_notify_hardif(struct batadv_priv *bat_priv,
|
||||
struct batadv_hard_iface *hard_iface)
|
||||
int batadv_netlink_notify_hardif(struct batadv_priv *bat_priv,
|
||||
struct batadv_hard_iface *hard_iface)
|
||||
{
|
||||
struct sk_buff *msg;
|
||||
int ret;
|
||||
@@ -1057,8 +1057,8 @@ nla_put_failure:
|
||||
*
|
||||
* Return: 0 on success, < 0 on error
|
||||
*/
|
||||
static int batadv_netlink_notify_vlan(struct batadv_priv *bat_priv,
|
||||
struct batadv_softif_vlan *vlan)
|
||||
int batadv_netlink_notify_vlan(struct batadv_priv *bat_priv,
|
||||
struct batadv_softif_vlan *vlan)
|
||||
{
|
||||
struct sk_buff *msg;
|
||||
int ret;
|
||||
|
新しいイシューから参照
ユーザーをブロックする