On Sat, May 20, 2017 at 18:03 +0200, Sebastien Marie wrote:
> Hi,
> 
> Here a report for a second panic regarding fqcodel.
> 
> The panic occurs at pfctl time: KASSERT(qs->parent_qid == 0) from
> fqcodel_pf_addqueue is reached.
> 
> I suspect a fqcodel queue not to be usable as parent of another queue.

Indeed, it is not.  I think I've lost the check in pfctl during
late refactoring.

> but pfctl parser doesn't forbid it, and kernel panic occurs.
>

I've changed the KASSERT to returning EINVAL, but I'm not going to
touch pfctl parser just yet.  I'll be working in this area this
weekend to do something similar to what you've attempted here:

> queue test parent fq bandwidth 10M default

Reply via email to