summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_sl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index 264e4a8..456f827 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -400,6 +400,9 @@ sltioctl(tp, cmd, data, flag, p)
sc->sc_flags &= ~SC_STATIC;
sc->sc_flags |= (nc->sc_flags & SC_STATIC);
tp->t_sc = sc = nc;
+ clist_alloc_cblocks(&tp->t_outq,
+ SLIP_HIWAT + 2 * sc->sc_if.if_mtu + 1,
+ SLIP_HIWAT + 2 * sc->sc_if.if_mtu + 1);
goto slfound;
}
}
OpenPOWER on IntegriCloud