bonding: make IS_IP_TARGET_UNUSABLE_ADDRESS an inline function
authorVeaceslav Falico <vfalico@gmail.com>
Thu, 15 May 2014 19:39:56 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 20:34:32 +0000 (16:34 -0400)
commit2807a9feb2393648f4db114fdf3fa99860ff6a36
tree90a3995c88e73f5fc82ccf339d25676e3aa5def9
parent01844098ecd9564cd5f903e3ff6c1ea96355772d
bonding: make IS_IP_TARGET_UNUSABLE_ADDRESS an inline function

Also, use standard IP primitives to check the address.

CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_options.c
drivers/net/bonding/bonding.h