Skip to contentSkip to conversation

: Return ENOENT if qdisc module is unavailable

PKT_SCHED jamal 1 participant 1 message Jul 6, 2006

Subsystems (3)
lore
Share & tools
lore

jamal

author
#0 lore raw

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

---

net/sched/sch_api.c +1 -1
index 31570b9..44724c6 100644
@@ -431,7 +431,7 @@ #ifdef CONFIG_KMOD
 	}
 #endif
 
-	err = -EINVAL;
+	err = -ENOENT;
 	if (ops == NULL)
 		goto err_out;