diff options
author | 2002-05-29 07:54:58 +0000 | |
---|---|---|
committer | 2002-05-29 07:54:58 +0000 | |
commit | d6b9e9b9a61ba97b669626b0c1e1b8987460d84d (patch) | |
tree | de539ee4623e3240142142dccc0a6b2324dd559d /sys/netinet/tcp_input.c | |
parent | set rmx_mtu to 0 on PMTUD route entry timeout. (diff) | |
download | wireguard-openbsd-d6b9e9b9a61ba97b669626b0c1e1b8987460d84d.tar.xz wireguard-openbsd-d6b9e9b9a61ba97b669626b0c1e1b8987460d84d.zip |
attach nd_ifinfo structure to if_afdata.
split IPv6 MTU (advertised by RA) from real link MTU.
sync with kame
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index fd775bf73ee..473c33651d5 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.111 2002/05/16 14:10:51 kjc Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.112 2002/05/29 07:54:59 itojun Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -3019,7 +3019,7 @@ tcp_mss(tp, offer) * for IPv6, path MTU discovery is always turned on, * or the node must use packet size <= 1280. */ - mss = ifp->if_mtu - iphlen - sizeof(struct tcphdr); + mss = IN6_LINKMTU(ifp) - iphlen - sizeof(struct tcphdr); } } #endif /* INET6 */ |