diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-05-29 07:55:00 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-05-29 07:55:00 +0000 |
commit | 0c16805fafc1c4948896949b53a45cd12b23c792 (patch) | |
tree | 17309af373ce87acd74dd2b36b9392af92fdc87f /sys/netinet | |
parent | 9b8b75740ddd55c4596231164f62c047299cb30c (diff) |
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')
-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 */ |