netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Resend [PKT_SCHED]: Return ENOENT if qdisc module is unavailable
Date: Thu, 03 Aug 2006 09:20:10 -0400	[thread overview]
Message-ID: <1154611210.5205.43.camel@jzny2> (raw)

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


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

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

             reply	other threads:[~2006-08-03 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-03 13:20 jamal [this message]
2006-08-03 23:37 ` Resend [PKT_SCHED]: Return ENOENT if qdisc module is unavailable David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1154611210.5205.43.camel@jzny2 \
    --to=hadi@cyberus.ca \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).