diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-07-24 15:50:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-27 01:05:24 -0700 |
commit | 205845a34763432040496908c8f52f1f97e5ee62 (patch) | |
tree | de70fcdbddeb86cd714af6f7b7a8711c298ba415 /include/net/bond_options.h | |
parent | 94724d102c829d9f2105b1cb6e831c99174cd49d (diff) | |
download | lwn-205845a34763432040496908c8f52f1f97e5ee62.tar.gz lwn-205845a34763432040496908c8f52f1f97e5ee62.zip |
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/net/bond_options.h')
-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 c28aca25320e..1797235cd590 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 }; |