bonding: create netlink event when bonding option is changed

Userspace needs to be notified if one changes some option.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Veaceslav Falico <vfalico@gmail.com>
Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jiri Pirko
2014-08-19 16:02:12 +02:00
committed by David S. Miller
parent 0c32ec8f5b
commit d4261e5650
2 changed files with 3 additions and 0 deletions

View File

@@ -625,6 +625,8 @@ int __bond_opt_set(struct bonding *bond,
out:
if (ret)
bond_opt_error_interpret(bond, opt, ret, val);
else
call_netdevice_notifiers(NETDEV_CHANGEINFODATA, bond->dev);
return ret;
}