aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2009-11-17 16:17:39 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2009-11-17 16:17:39 +0000
commit2fe649e7a5b211b10bb77da900eba5b7c11a07ff (patch)
tree4f250efb58a80e6ef6740d7ffc576d680a452f65 /sys/netinet
parentcec7632e82c7d1d9da0f96b3aca6c10dac4a27cc (diff)
Notes
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 99a319b104a0..c76d90563872 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -939,7 +939,7 @@ send:
* to read more data then can be buffered prior to transmitting on
* the connection.
*/
- if (recwin == 0)
+ if (th->th_win == 0)
tp->t_flags |= TF_RXWIN0SENT;
else
tp->t_flags &= ~TF_RXWIN0SENT;