iPXE - Open Source Boot Firmware

[tcp] Allow out-of-order receive queue to be discarded
authorMichael Brown <mcb30@ipxe.org>
Wed, 21 Jul 2010 11:01:50 +0000 (12:01 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 21 Jul 2010 11:01:50 +0000 (12:01 +0100)
commit1d3b6619e5e35eecc29efcef6eb1dd3564a2eb45
tree8dbfdea795e921626cf40bdbfde9bbeb01b2a185
parent9dc51afa2cc2b0d8310b540ae193edb37f148b8b
[tcp] Allow out-of-order receive queue to be discarded

Allow packets in the receive queue to be discarded in order to free up
memory.  This avoids a potential deadlock condition in which the
missing packet can never be received because the receive queue is
occupying all of the memory available for further RX buffers.

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