From fc6382d167e07669935b46db1da70dfc4fc1332f Mon Sep 17 00:00:00 2001 From: itojun Date: Tue, 4 Jun 2002 22:11:15 +0000 Subject: [PATCH] no need to set rmx_send/recvpipe. --- sys/net/if_faith.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c index 7fbd59d5de0a..aad06d9c1ebd 100644 --- a/sys/net/if_faith.c +++ b/sys/net/if_faith.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_faith.c,v 1.24 2001/11/15 07:01:27 thorpej Exp $ */ +/* $NetBSD: if_faith.c,v 1.25 2002/06/04 22:11:15 itojun Exp $ */ /* $KAME: if_faith.c,v 1.21 2001/02/20 07:59:26 itojun Exp $ */ /* @@ -44,7 +44,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.24 2001/11/15 07:01:27 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.25 2002/06/04 22:11:15 itojun Exp $"); #include "opt_inet.h" @@ -257,16 +257,8 @@ faithrtrequest(cmd, rt, info) struct rtentry *rt; struct rt_addrinfo *info; { - if (rt) { + if (rt) rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; /* for ISO */ - /* - * For optimal performance, the send and receive buffers - * should be at least twice the MTU plus a little more for - * overhead. - */ - rt->rt_rmx.rmx_recvpipe = - rt->rt_rmx.rmx_sendpipe = 3 * FAITHMTU; - } } /*