diff options
| author | Andre Oppermann <andre@FreeBSD.org> | 2005-09-13 14:44:08 +0000 |
|---|---|---|
| committer | Andre Oppermann <andre@FreeBSD.org> | 2005-09-13 14:44:08 +0000 |
| commit | 23c6e7466fd1cfefcdb3a299efedd4f595e1399a (patch) | |
| tree | 79b2554c769763880a91885b3633e94a570f1043 | |
| parent | d0cc4304b3914f003d78593cd1542db9a769f5b4 (diff) | |
Notes
| -rw-r--r-- | sys/netinet/tcp_subr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index aa158a1a73d5..f24c141c035f 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1191,10 +1191,11 @@ tcp_ctlinput(cmd, sa, vip) /* * If no alternative MTU was * proposed, try the next smaller - * one. + * one. ip->ip_len has already + * been swapped in icmp_input(). */ if (!mtu) - mtu = ip_next_mtu(ntohs(ip->ip_len), + mtu = ip_next_mtu(ip->ip_len, 1); if (mtu < max(296, (tcp_minmss) + sizeof(struct tcpiphdr))) |
