diff options
author | 2000-09-25 09:41:02 +0000 | |
---|---|---|
committer | 2000-09-25 09:41:02 +0000 | |
commit | 48f4b3145ffc669f8000f5632d6bf29f65fc1116 (patch) | |
tree | d2cd8a847991c94672e7e398d6e884b77a4d0f3c /sys/netinet/tcp_output.c | |
parent | prepare for switching threads (diff) | |
download | wireguard-openbsd-48f4b3145ffc669f8000f5632d6bf29f65fc1116.tar.xz wireguard-openbsd-48f4b3145ffc669f8000f5632d6bf29f65fc1116.zip |
on expiry of pmtu route, retry higher mtu. okay angelos@
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r-- | sys/netinet/tcp_output.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index f1ab4a5ab05..63d9bd94111 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_output.c,v 1.33 2000/09/20 17:00:22 provos Exp $ */ +/* $OpenBSD: tcp_output.c,v 1.34 2000/09/25 09:41:03 provos Exp $ */ /* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */ /* @@ -512,8 +512,7 @@ send: opt[0] = TCPOPT_MAXSEG; opt[1] = 4; - mss = htons((u_int16_t) tcp_mss(tp, flags & TH_ACK ? - tp->t_maxopd : 0)); + mss = htons((u_int16_t) tcp_mss(tp, 0)); bcopy((caddr_t)&mss, (caddr_t)(opt + 2), sizeof(mss)); optlen = 4; |