aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-07-01 05:42:16 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-07-01 05:42:16 +0000
commit66e39adc7cfc0f5a6e71b84a44956dddc3cb1e5a (patch)
tree13a0b62fcdbc130a98c73166b093ffc2fa0065d1 /sys/netinet/tcp_input.c
parent0395b68640f8015e5e9328a26698cd07c7f4f778 (diff)
downloadsrc-66e39adc7cfc0f5a6e71b84a44956dddc3cb1e5a.tar.gz
src-66e39adc7cfc0f5a6e71b84a44956dddc3cb1e5a.zip
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index f76526eee657..33e9b60a44e9 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $Id: tcp_input.c,v 1.57 1997/02/22 09:41:40 peter Exp $
+ * $Id: tcp_input.c,v 1.58 1997/04/27 20:01:13 wollman Exp $
*/
#ifndef TUBA_INCLUDE
@@ -604,7 +604,7 @@ findpcb:
win = sbspace(&so->so_rcv);
if (win < 0)
win = 0;
- tp->rcv_wnd = max(win, (int)(tp->rcv_adv - tp->rcv_nxt));
+ tp->rcv_wnd = imax(win, (int)(tp->rcv_adv - tp->rcv_nxt));
}
switch (tp->t_state) {