And this is similar to Thomas' patch 2/3 that i pointed out in the email. It is not intended for stable, so a latter -rc or even 2.6.18
cheers, jamal
Return ENOENT if qdisc module is unavailable Signed-off-by: Jamal Hadi Salim <[EMAIL PROTECTED]> --- diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 31570b9..44724c6 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c @@ -431,7 +431,7 @@ #ifdef CONFIG_KMOD } #endif - err = -EINVAL; + err = -ENOENT; if (ops == NULL) goto err_out;