bonding: convert num_grat_arp to the new bonding option API
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Fri, 24 Jul 2015 13:50:31 +0000 (15:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 08:05:24 +0000 (01:05 -0700)
commit205845a34763432040496908c8f52f1f97e5ee62
treede70fcdbddeb86cd714af6f7b7a8711c298ba415
parent94724d102c829d9f2105b1cb6e831c99174cd49d
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>
drivers/net/bonding/bond_options.c
drivers/net/bonding/bond_sysfs.c
include/net/bond_options.h