PERFORCE change 157795 for review

Andre Oppermann andre at FreeBSD.org
Mon Feb 16 08:09:00 PST 2009


http://perforce.freebsd.org/chv.cgi?CH=157795

Change 157795 by andre at andre_flirtbox on 2009/02/16 16:08:10

	Update receive window size after a read.

Affected files ...

.. //depot/projects/tcp_new/netinet/tcp_usrreq.c#3 edit

Differences ...

==== //depot/projects/tcp_new/netinet/tcp_usrreq.c#3 (text+ko) ====

@@ -737,6 +737,11 @@
 	}
 	tp = intotcpcb(inp);
 	TCPDEBUG1();
+
+	/*
+	 * Update receive window size after a read.
+	 */
+	tp->rcv_wnd = sbspace(&so->so_rcv);
 	tcp_output_rcvd(tp);
 
 out:


More information about the p4-projects mailing list