projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21d4d5
)
[NET_SCHED]: sch_ingress: return proper error code in ingress_graft()
author
Patrick McHardy
<kaber@trash.net>
Mon, 21 Jan 2008 08:12:32 +0000
(
00:12
-0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:08:20 +0000
(15:08 -0800)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_ingress.c
patch
|
blob
|
history
diff --git
a/net/sched/sch_ingress.c
b/net/sched/sch_ingress.c
index d803cd137629ee672635a96752280e39dfbaa4ca..1bbc648f06ee087d37e50b6f64500e9d088ce6f7 100644
(file)
--- a/
net/sched/sch_ingress.c
+++ b/
net/sched/sch_ingress.c
@@
-35,7
+35,7
@@
struct ingress_qdisc_data {
static int ingress_graft(struct Qdisc *sch, unsigned long arg,
struct Qdisc *new, struct Qdisc **old)
{
- return
1
;
+ return
-EOPNOTSUPP
;
}
static struct Qdisc *ingress_leaf(struct Qdisc *sch, unsigned long arg)