Subject: Re: [Patch net-next 4/5] net_sched: forbid setting default qdisc to inappropriate ones

From: Jamal Hadi Salim <[email-masked]>
Date: Fri, 28 Aug 2015 08:26:53 -0400

On 08/28/15 00:23, David Miller wrote:

> If a default qdisc like HTB is choosen, we invoke the ->init() function
> and we change the HTB ->init() function to do something reasonable
> if a NULL set of configuration attributes is given.  ie. make HTB use
> some defaults.
>

That may work. Or to reduce ambiguity introduce qdisc->set_default().

cheers,
jamal