• J
    bonding: add some slack to arp monitoring time limits · da210f55
    Jiri Bohac 提交于
    Currently, all the time limits in the bonding ARP monitor are in
    multiples of arp_interval -- the time interval at which the ARP
    monitor is periodically scheduled.
    
    With a fast network round-trip and a little scheduling latency
    of the ARP monitor work, a limit of n*delta_in_ticks may
    effectively mean (n-1)*delta_in_ticks.
    
    This is fatal in case of n==1  (the link will stay down
    forever) and makes the behaviour non-deterministic in all the
    other cases.
    
    Add a delta_in_ticks/2 time slack to all the time limits.
    Signed-off-by: NJiri Bohac <jbohac@suse.cz>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    da210f55
bond_main.c 132.2 KB