u-boot-brain/net
Joe Hershberger c5a75339cf net: Fix delay in net_retry test
Introduced in 45b4773 (net/arp: account for ARP delay, avoid duplicate packets on timeout)

Check the arp timeout and adjust the timeout start time before the call
to eth_recv() so that the sandbox driver has the opportunity to adjust
the sandbox timer after the new start time has been recorded.

Also, change the adjustment amount by 11 seconds instead of exactly the
10 seconds that the ping timout is expecting since the timeout check is
looking for the time elapsed to be greater than but not equal to the
specified delay.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Simon Glass <sjg@chromium.org>
2016-01-07 12:18:58 -07:00
..
arp.c net/arp: account for ARP delay, avoid duplicate packets on timeout 2015-10-28 14:57:37 -05:00
arp.h net/arp: account for ARP delay, avoid duplicate packets on timeout 2015-10-28 14:57:37 -05:00
bootp.c net: parse DHCP options from overloaded file/sname fields 2015-10-29 14:05:45 -05:00
bootp.h net: Convert protocol structures to use explicit sizes 2015-04-18 11:11:35 -06:00
cdp.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
cdp.h net: cosmetic: Clean up CDP variables and functions 2015-04-18 11:11:34 -06:00
checksum.c net: Add a separate file for IP checksumming 2015-01-23 21:44:59 -07:00
dns.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
dns.h net: cosmetic: Clean up DNS variables and functions 2015-04-18 11:11:34 -06:00
eth.c dm: eth: Stick to 'ethact' when 'ethrotate' is 'no' in eth_init() 2016-01-07 10:27:07 -07:00
Kconfig net: TFTP: variables cleanup and addition 2015-10-28 14:42:24 -05:00
link_local.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
link_local.h net: Add link-local addressing support 2012-05-23 17:53:08 -05:00
Makefile net: Add a separate file for IP checksumming 2015-01-23 21:44:59 -07:00
net_rand.h net: use common rand()/srand() functions 2012-07-07 14:07:32 +02:00
net.c net: Fix delay in net_retry test 2016-01-07 12:18:58 -07:00
nfs.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
nfs.h net: cosmetic: Clean up NFS variables and functions 2015-04-18 11:11:33 -06:00
ping.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
ping.h SPDX License cleanup for LiMon imported files 2014-10-10 09:44:43 -04:00
rarp.c net: tftp: Move tftp.h file from ./net to ./include/net 2015-09-07 13:41:04 +02:00
rarp.h net: cosmetic: Clean up RARP variables and functions 2015-04-18 11:11:33 -06:00
sntp.c dm: net: rtc: Support using driver model for rtc in sntp 2015-05-05 20:58:40 -06:00
sntp.h net: cosmetic: Clean up SNTP variables and functions 2015-04-18 11:11:34 -06:00
tftp.c net: TFTP: variables cleanup and addition 2015-10-28 14:42:24 -05:00