diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1995-10-13 16:00:25 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1995-10-13 16:00:25 +0000 |
| commit | 91badc866fb38bf856f426399858a4d2a90fa83f (patch) | |
| tree | 1a1415b7b80f559112f60fd898c6a41621bd28ee | |
| parent | 7c2aa513e682f03c94d3db50205dee36b90f094c (diff) | |
Notes
| -rw-r--r-- | sys/netinet/tcp_input.c | 8 | ||||
| -rw-r--r-- | sys/netinet/tcp_reass.c | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 7762f81867782..29143fbff95ba 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_input.c 8.12 (Berkeley) 5/24/95 - * $Id: tcp_input.c,v 1.28 1995/07/31 10:24:22 olah Exp $ + * $Id: tcp_input.c,v 1.29 1995/10/03 16:54:12 wollman Exp $ */ #ifndef TUBA_INCLUDE @@ -2080,12 +2080,6 @@ tcp_mssopt(tp) if (rt == NULL) return tcp_mssdflt; - /* - * if there's an mtu associated with the route, use it - */ - if (rt->rt_rmx.rmx_mtu) - return rt->rt_rmx.rmx_mtu - sizeof(struct tcpiphdr); - return rt->rt_ifp->if_mtu - sizeof(struct tcpiphdr); } #endif /* TUBA_INCLUDE */ diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 7762f81867782..29143fbff95ba 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_input.c 8.12 (Berkeley) 5/24/95 - * $Id: tcp_input.c,v 1.28 1995/07/31 10:24:22 olah Exp $ + * $Id: tcp_input.c,v 1.29 1995/10/03 16:54:12 wollman Exp $ */ #ifndef TUBA_INCLUDE @@ -2080,12 +2080,6 @@ tcp_mssopt(tp) if (rt == NULL) return tcp_mssdflt; - /* - * if there's an mtu associated with the route, use it - */ - if (rt->rt_rmx.rmx_mtu) - return rt->rt_rmx.rmx_mtu - sizeof(struct tcpiphdr); - return rt->rt_ifp->if_mtu - sizeof(struct tcpiphdr); } #endif /* TUBA_INCLUDE */ |
