diff options
author | Jiri Bohac <jbohac@suse.cz> | 2012-08-30 12:02:47 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-31 20:37:12 (GMT) |
commit | da210f559019ba1cd4ebee2a28ad158bfb95bab2 (patch) | |
tree | 9dd79ea671975ded4249dd6643f69de104c5580d /fs/qnx4 | |
parent | eb7e0575966f9c84434e92c8a3f69719cc2e7571 (diff) | |
download | linux-fsl-qoriq-da210f559019ba1cd4ebee2a28ad158bfb95bab2.tar.xz |
bonding: add some slack to arp monitoring time limits
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: Jiri Bohac <jbohac@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions