From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 7 Jan 2016 09:32:19 -0700 Subject: [U-Boot] [PATCH] net: Fix delay in net_retry test In-Reply-To: <1450737096-15839-1-git-send-email-joe.hershberger@ni.com> References: <1450737096-15839-1-git-send-email-joe.hershberger@ni.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 21 December 2015 at 15:31, Joe Hershberger wrote: > 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 > > --- > > drivers/net/sandbox.c | 2 +- > net/net.c | 7 +++---- > 2 files changed, 4 insertions(+), 5 deletions(-) Acked-by: Simon Glass I'm planning to pick this up for the release. Please let me know if you have any concerns. - Simon