diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-06-04 22:14:17 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-06-04 22:14:17 +0000 |
commit | f3c4fe96ec687dc922b49b0ed64c55fd4be45833 (patch) | |
tree | 76c7dfb51d18c9d603e027ac1718d237cd8bc868 | |
parent | 64e1347957658ba023888b80144d866fa0ff5e89 (diff) |
no need to specify rmx_send/recvpipe.
-rw-r--r-- | sys/net/if_faith.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c index 962080f2104..a6abdbab586 100644 --- a/sys/net/if_faith.c +++ b/sys/net/if_faith.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_faith.c,v 1.10 2002/03/14 01:27:09 millert Exp $ */ +/* $OpenBSD: if_faith.c,v 1.11 2002/06/04 22:14:16 itojun Exp $ */ /* * Copyright (c) 1982, 1986, 1993 * The Regents of the University of California. All rights reserved. @@ -198,16 +198,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; - } } /* |