diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2014-02-28 12:39:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-02 14:54:10 -0500 |
commit | 285727600fa3714051cda1c21f20a8a3842f3dd8 (patch) | |
tree | ef97e72ed7060e044216ee3d3cc8d1ccb7cb6b5e /drivers/base/platform.c | |
parent | 750f679cfc8323342f1663c69c99be686f79f3ff (diff) |
bonding: send arp requests even if there's no route to them
Currently we're only sending arp requests if we have a route to the target
(and, thus, can find out the source ip address).
There are some use cases, however, where we don't want/need to set an ip
address (or set up a specific route) for bonding to use arp monitoring *for
traffic generation*. We can easily send arp probes (arp requests with src
ip == 0) to generate arp broadcast responses from the target ip and use
them for determining if the target is up.
This, obviously, won't work with arp validation - because we don't have the
ip address set and, thus, will filter out the responses. So in that case -
print a warning.
CC: François CACHEREUL <f.cachereul@alphalink.fr>
CC: Zhenjie Chen <zhchen@redhat.com>
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>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions