aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-21 03:12:32 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:08:20 -0500
commite037834758af82a24c4d390b93e1ce5e280a551a (patch)
tree12fb2d79de7c09226d1b8834738e716dc47606ab /net/sched
parentc21d4d5dd27329c30c5129d5dbc4942456af361c (diff)
[NET_SCHED]: sch_ingress: return proper error code in ingress_graft()
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>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_ingress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_ingress.c b/net/sched/sch_ingress.c
index d803cd137629..1bbc648f06ee 100644
--- a/net/sched/sch_ingress.c
+++ b/net/sched/sch_ingress.c
@@ -35,7 +35,7 @@ struct ingress_qdisc_data {
35static int ingress_graft(struct Qdisc *sch, unsigned long arg, 35static int ingress_graft(struct Qdisc *sch, unsigned long arg,
36 struct Qdisc *new, struct Qdisc **old) 36 struct Qdisc *new, struct Qdisc **old)
37{ 37{
38 return 1; 38 return -EOPNOTSUPP;
39} 39}
40 40
41static struct Qdisc *ingress_leaf(struct Qdisc *sch, unsigned long arg) 41static struct Qdisc *ingress_leaf(struct Qdisc *sch, unsigned long arg)