no need to set rmx_send/recvpipe.

This commit is contained in:
itojun 2002-06-04 22:11:15 +00:00
parent e2718cabea
commit fc6382d167

View File

@ -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 <sys/cdefs.h>
__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;
}
}
/*