diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-07-24 13:50:31 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-27 08:05:24 (GMT) |
commit | 205845a34763432040496908c8f52f1f97e5ee62 (patch) | |
tree | de70fcdbddeb86cd714af6f7b7a8711c298ba415 /include | |
parent | 94724d102c829d9f2105b1cb6e831c99174cd49d (diff) | |
download | linux-205845a34763432040496908c8f52f1f97e5ee62.tar.xz |
bonding: convert num_grat_arp to the new bonding option API
num_grat_arp wasn't converted to the new bonding option API, so do this
now and remove the specific sysfs store option in order to use the
standard one. num_grat_arp is the same as num_unsol_na so add it as an
alias with the same option settings. An important difference is the option
name which is matched in bond_sysfs_store_option().
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Veaceslav Falico <vfalico@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bond_options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bond_options.h b/include/net/bond_options.h index c28aca2..1797235 100644 --- a/include/net/bond_options.h +++ b/include/net/bond_options.h @@ -66,6 +66,7 @@ enum { BOND_OPT_AD_ACTOR_SYS_PRIO, BOND_OPT_AD_ACTOR_SYSTEM, BOND_OPT_AD_USER_PORT_KEY, + BOND_OPT_NUM_PEER_NOTIF_ALIAS, BOND_OPT_LAST }; |