]> Git Repo - J-u-boot.git/commit - net/net.c
net/arp: account for ARP delay, avoid duplicate packets on timeout
authorStefan Brüns <[email protected]>
Sun, 30 Aug 2015 15:46:54 +0000 (17:46 +0200)
committerJoe Hershberger <[email protected]>
Wed, 28 Oct 2015 19:57:37 +0000 (14:57 -0500)
commit45b47734a0788721c76e3bb621a5133554e0a640
treefb8b5ce5c47435ff1683d918c563e48436809e5b
parent943231119f3caaaca7db4c588e4f3e9a6cec426a
net/arp: account for ARP delay, avoid duplicate packets on timeout

eth_rx() in the main reception loop may trigger sending a packet which
is already timed out (or will immediately) upon reception of an ARP reply.
As long as the ARP reply is pending, the timeout handler of a packet
should be postponed.
Happens on TFTP with bad network (e.g. WLAN).

Signed-off-by: Stefan Brüns <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
net/arp.c
net/arp.h
net/net.c
This page took 0.033924 seconds and 4 git commands to generate.