]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[arp] Try to avoid discarding ARP cache entries
authorMichael Brown <mcb30@ipxe.org>
Mon, 9 Jul 2012 08:55:26 +0000 (09:55 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 9 Jul 2012 09:08:38 +0000 (10:08 +0100)
commit024247317d50ffc4c44dd041aae19ae23b72788e
treec059ac8afb0a71f79ba3795b2ff2d954f70cd0ce
parent8d95e1d6ff7b77ac6ea4d675c524c75d896c5d4b
[arp] Try to avoid discarding ARP cache entries

Discarding the active ARP cache entry in the middle of a download will
substantially disrupt the TCP stream.  Try to minimise any such
disruption by treating ARP cache entries as expensive, and discarding
them only when nothing else is available to discard.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/x509.c
src/include/ipxe/malloc.h
src/net/arp.c
src/net/tcp.c