[gPXE-devel] [tcp] Fix error ACK number in FIN packet.
Michael Brown
mbrown at fensystems.co.uk
Wed May 19 06:44:09 EDT 2010
On Wednesday 19 May 2010 11:16:51 Guo-Fu Tseng wrote:
> In recent TCP stack testing, I've found that the FIN packet is
> in-correct while downloading with HTTP. The attach shows the data before
> and after this is fixed.
Nice catch. It's probably neater to move the call to tcp_rx_seq() above the
call to xfer_deliver_iob(), rather than using a hack to work around the
problem.
A consequence of making this change is that you would then have to treat
xfer_deliver_iob() errors as fatal to the connection, but that's arguably a
good idea anyway.
Michael
More information about the gPXE-devel
mailing list