Dave,
Old patch - didnt see it reflected in this mornings sync with linus tree
and dont wanna loose it (git is great at reminding me); if queued
already, just ignore.
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;