Netdev List
 help / color / mirror / Atom feed
* [PKT_SCHED]: Return ENOENT if qdisc module is unavailable
@ 2006-07-06 12:40 jamal
  0 siblings, 0 replies; only message in thread
From: jamal @ 2006-07-06 12:40 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]


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

[-- Attachment #2: sch-ne --]
[-- Type: text/plain, Size: 364 bytes --]


Return ENOENT if qdisc module is unavailable

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>

---
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;
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-06 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-06 12:40 [PKT_SCHED]: Return ENOENT if qdisc module is unavailable jamal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox