bonding: Gratuitous ARP gets dropped when first slave added
authorVenkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Tue, 11 Aug 2015 14:57:23 +0000 (07:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Aug 2015 21:37:33 +0000 (14:37 -0700)
When the first slave is added (such as during bootup) the first
gratuitous ARP gets dropped. We don't see this drop during a failover.
The packet gets dropped in qdisc (noop_enqueue).

The fix is to delay the sending of gratuitous ARPs till the bond dev's
carrier is present.

It can also be worked around by setting num_grat_arp to more than 1.

Signed-off-by: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c

Simple merge