commit | b9e2cc0f0e47ad351349156018ef8a365e9c6d25 | [log] [tgz] |
---|---|---|
author | Jamal Hadi Salim <[email protected]> | Thu Aug 03 16:36:51 2006 -0700 |
committer | David S. Miller <[email protected]> | Fri Aug 04 22:59:49 2006 -0700 |
tree | 75770adf993e8ae1a1166df9c959fd262ec3d141 | |
parent | bea1b42e1bb184cb75e6bbd95c83e4478dde4ab9 [diff] [blame] |
[PKT_SCHED]: Return ENOENT if qdisc module is unavailable Return ENOENT if qdisc module is unavailable Signed-off-by: Jamal Hadi Salim <[email protected]> Signed-off-by: David S. Miller <[email protected]>
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index c7844ba..a19eff12 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c
@@ -430,7 +430,7 @@ } #endif - err = -EINVAL; + err = -ENOENT; if (ops == NULL) goto err_out;