diff options
author | wollman <wollman@FreeBSD.org> | 1996-04-26 18:31:41 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-04-26 18:31:41 +0000 |
commit | 411e2af1bd2ec848d539381f8f00a3da5401690c (patch) | |
tree | dec1dea323a58784de1395e1b08daabc5cfe3bca /sys/netinet | |
parent | 8fcdf08026a761effa9bbc7d6fb5062ca3c822d0 (diff) | |
download | FreeBSD-src-411e2af1bd2ec848d539381f8f00a3da5401690c.zip FreeBSD-src-411e2af1bd2ec848d539381f8f00a3da5401690c.tar.gz |
Delete #if 0 block containing remnants of pre-MTU discovery rmx_mtu
initialization.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/in_rmx.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c index 958b648..df4fc3b 100644 --- a/sys/netinet/in_rmx.c +++ b/sys/netinet/in_rmx.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: in_rmx.c,v 1.22 1995/12/19 20:46:13 wollman Exp $ + * $Id: in_rmx.c,v 1.23 1996/01/23 05:15:30 fenner Exp $ */ /* @@ -65,9 +65,6 @@ #include <netinet/tcp_seq.h> #include <netinet/tcp_timer.h> #include <netinet/tcp_var.h> -#if 0 -#include <netinet/tcpip.h> -#endif extern int in_inithead __P((void **head, int off)); @@ -110,22 +107,9 @@ in_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, if (!rt->rt_rmx.rmx_recvpipe && !(rt->rt_rmx.rmx_locks & RTV_RPIPE)) rt->rt_rmx.rmx_recvpipe = tcp_recvspace; -#if 0 - /* - * Finally, set an MTU, again duplicating logic in TCP. - * The in_localaddr() business will go away when we have - * proper PMTU discovery. - */ -#endif if (!rt->rt_rmx.rmx_mtu && !(rt->rt_rmx.rmx_locks & RTV_MTU) && rt->rt_ifp) -#if 0 - rt->rt_rmx.rmx_mtu = (in_localaddr(sin->sin_addr) - ? rt->rt_ifp->if_mtu - : tcp_mssdflt + sizeof(struct tcpiphdr)); -#else rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; -#endif ret = rn_addroute(v_arg, n_arg, head, treenodes); if (ret == NULL && rt->rt_flags & RTF_HOST) { |