bonding: make arp_ip_target parameter checks consistent with sysfs
authornikolay@redhat.com <nikolay@redhat.com>
Thu, 29 Nov 2012 01:34:06 +0000 (01:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Nov 2012 18:13:15 +0000 (13:13 -0500)
commit90fb6250c509cabd425b7ae4524053dba2e27e2c
treed8b5740916d8a3ba304fdffc347d029e132baa14
parentfbb0c41b814d497c656fc7be9e35456f139cb2fb
bonding: make arp_ip_target parameter checks consistent with sysfs

The module can be loaded with arp_ip_target="255.255.255.255" which makes
 it impossible to remove as the function in sysfs checks for that value,
 so we make the parameter checks consistent with sysfs.

 v2: Fix formatting
 v3: Make description text < 75 columns

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c