bonding: extend arp_validate to be able to receive unvalidated arp-only traffic
authorVeaceslav Falico <vfalico@redhat.com>
Tue, 18 Feb 2014 06:48:40 +0000 (07:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2014 21:47:14 +0000 (16:47 -0500)
commit896149ff1b2c48962b7e8eee797552c61f8d5b93
treeeb06df4894a8713ba98c42705a929bc4ba414117
parent3fe68df97c7f132495664358e0bfbfcd4ca7809c
bonding: extend arp_validate to be able to receive unvalidated arp-only traffic

Currently we can either receive any traffic as a proff of slave being up,
or only *validated* arp traffic (i.e. with src/dst ip checked).

Add an option to be able to specify if we want to receive non-validated arp
traffic only.

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