Date: Mon, 13 Jun 2011 15:38:31 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet tcp_output.c Message-ID: <201106131538.p5DFcnFh077627@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2011-06-13 15:38:31 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_output.c
Log:
SVN rev 223049 on 2011-06-13 15:38:31Z by jhb
Advance the advertised window (rcv_adv) to the currently received data
(rcv_nxt) if we advertising a zero window. This can be true when ACK'ing
a window probe whose one byte payload was accepted rather than dropped
because the socket's receive buffer was not completely full, but the
remaining space was smaller than the window scale.
This ensures that window probe ACKs satisfy the assumption made in r221346
and closes a window where rcv_nxt could be greater than rcv_adv.
Tested by: trasz, pho, trociny
Reviewed by: silby
MFC after: 1 week
Revision Changes Path
1.181 +1 -1 src/sys/netinet/tcp_output.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106131538.p5DFcnFh077627>
