projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bea1b42
)
[PKT_SCHED]: Return ENOENT if qdisc module is unavailable
author
Jamal Hadi Salim
<hadi@cyberus.ca>
Thu, 3 Aug 2006 23:36:51 +0000
(16:36 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sat, 5 Aug 2006 05:59:49 +0000
(22:59 -0700)
Return ENOENT if qdisc module is unavailable
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_api.c
b/net/sched/sch_api.c
index c7844bacbbcbb3770804ff1d2e0afb7a18ce3ead..a19eff12cf78b9013d66f070153c869f8242b151 100644
(file)
--- a/
net/sched/sch_api.c
+++ b/
net/sched/sch_api.c
@@
-430,7
+430,7
@@
qdisc_create(struct net_device *dev, u32 handle, struct rtattr **tca, int *errp)
}
#endif
- err = -E
INVAL
;
+ err = -E
NOENT
;
if (ops == NULL)
goto err_out;