diff options
| author | Qing Li <qingli@FreeBSD.org> | 2008-12-15 06:10:57 +0000 |
|---|---|---|
| committer | Qing Li <qingli@FreeBSD.org> | 2008-12-15 06:10:57 +0000 |
| commit | 6e6b3f7cbc89cf29eafdfa6d1613c6b1a37c364b (patch) | |
| tree | 281ff6a89cacadf7e72f506b037ca41229a23bf6 /sys/netinet/tcp_subr.c | |
| parent | 5d42c423690d3bc0751ea418ad945bb54c5c747d (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
| -rw-r--r-- | sys/netinet/tcp_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 2c2337e1ebaf..e7a6dff1ac06 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1659,7 +1659,7 @@ tcp_maxmtu(struct in_conninfo *inc, int *flags) dst->sin_family = AF_INET; dst->sin_len = sizeof(*dst); dst->sin_addr = inc->inc_faddr; - in_rtalloc_ign(&sro, RTF_CLONING, inc->inc_fibnum); + in_rtalloc_ign(&sro, 0, inc->inc_fibnum); } if (sro.ro_rt != NULL) { ifp = sro.ro_rt->rt_ifp; @@ -1694,7 +1694,7 @@ tcp_maxmtu6(struct in_conninfo *inc, int *flags) sro6.ro_dst.sin6_family = AF_INET6; sro6.ro_dst.sin6_len = sizeof(struct sockaddr_in6); sro6.ro_dst.sin6_addr = inc->inc6_faddr; - rtalloc_ign((struct route *)&sro6, RTF_CLONING); + rtalloc_ign((struct route *)&sro6, 0); } if (sro6.ro_rt != NULL) { ifp = sro6.ro_rt->rt_ifp; |
