diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-21 00:12:32 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:08:20 -0800 |
commit | e037834758af82a24c4d390b93e1ce5e280a551a (patch) | |
tree | 12fb2d79de7c09226d1b8834738e716dc47606ab /net | |
parent | c21d4d5dd27329c30c5129d5dbc4942456af361c (diff) | |
download | blackbird-op-linux-e037834758af82a24c4d390b93e1ce5e280a551a.tar.gz blackbird-op-linux-e037834758af82a24c4d390b93e1ce5e280a551a.zip |
[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')
-rw-r--r-- | net/sched/sch_ingress.c | 2 |
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 { 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) |