diff options
author | Jiri Pirko <jiri@resnulli.us> | 2014-08-19 10:02:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-22 15:33:47 -0400 |
commit | d4261e5650004d6d51137553ea5433d5828562dc (patch) | |
tree | f2129a27e8a66c0cb6925ded068a8f9201379317 /drivers/net/bonding/bond_options.c | |
parent | 0c32ec8f5ba885fda08b1b822158b6135e56a308 (diff) |
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>
Diffstat (limited to 'drivers/net/bonding/bond_options.c')
-rw-r--r-- | drivers/net/bonding/bond_options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_options.c b/drivers/net/bonding/bond_options.c index dc73463c2c23..d8dc17faa6b4 100644 --- a/drivers/net/bonding/bond_options.c +++ b/drivers/net/bonding/bond_options.c | |||
@@ -625,6 +625,8 @@ int __bond_opt_set(struct bonding *bond, | |||
625 | out: | 625 | out: |
626 | if (ret) | 626 | if (ret) |
627 | bond_opt_error_interpret(bond, opt, ret, val); | 627 | bond_opt_error_interpret(bond, opt, ret, val); |
628 | else | ||
629 | call_netdevice_notifiers(NETDEV_CHANGEINFODATA, bond->dev); | ||
628 | 630 | ||
629 | return ret; | 631 | return ret; |
630 | } | 632 | } |