Disable "bulk dequeue" when enabling ALTQ so it does not irritate the

timing.
This commit is contained in:
Max Laier 2004-06-15 23:59:37 +00:00
parent affc907d0c
commit 7421be0528

View File

@ -254,6 +254,7 @@ altq_enable(ifq)
#endif
IFQ_PURGE_NOLOCK(ifq);
ASSERT(ifq->ifq_len == 0);
ifq->ifq_drv_maxlen = 0; /* disable bulk dequeue */
ifq->altq_flags |= ALTQF_ENABLED;
if (ifq->altq_clfier != NULL)
ifq->altq_flags |= ALTQF_CLASSIFY;