aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-11 19:39:21 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-11 19:39:21 +0000
commited637f8f5f4a879be2b96893a35161be2b26856e (patch)
tree1277ea10c267b2aa4d2f41e8bdd520be00881896
parentad27a972d0add5f89ad257034f244777f894c06e (diff)
Notes
-rw-r--r--sys/net/if_sl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index fb7e5a71acd0..79f0c665d006 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_sl.c 8.6 (Berkeley) 2/1/94
- * $Id$
+ * $Id: if_sl.c,v 1.49 1997/02/22 09:41:06 peter Exp $
*/
/*
@@ -297,8 +297,8 @@ slopen(dev, tp)
*/
clist_alloc_cblocks(&tp->t_canq, 0, 0);
clist_alloc_cblocks(&tp->t_outq,
- sc->sc_if.if_mtu + SLIP_HIWAT,
- sc->sc_if.if_mtu + SLIP_HIWAT);
+ SLIP_HIWAT + 2 * sc->sc_if.if_mtu + 1,
+ SLIP_HIWAT + 2 * sc->sc_if.if_mtu + 1);
clist_alloc_cblocks(&tp->t_rawq, 0, 0);
s = splnet();
@@ -973,8 +973,8 @@ slioctl(ifp, cmd, data)
tp = sl_softc[ifp->if_unit].sc_ttyp;
if (tp != NULL)
clist_alloc_cblocks(&tp->t_outq,
- ifp->if_mtu + SLIP_HIWAT,
- ifp->if_mtu + SLIP_HIWAT);
+ SLIP_HIWAT + 2 * ifp->if_mtu + 1,
+ SLIP_HIWAT + 2 * ifp->if_mtu + 1);
}
break;