From: Patrick McHardy Date: Mon, 21 Jan 2008 08:12:32 +0000 (-0800) Subject: [NET_SCHED]: sch_ingress: return proper error code in ingress_graft() X-Git-Tag: v2.6.25-rc1~1162^2~255 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e037834758af82a24c4d390b93e1ce5e280a551a;p=linux-2.6 [NET_SCHED]: sch_ingress: return proper error code in ingress_graft() Signed-off-by: Patrick McHardy Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_ingress.c b/net/sched/sch_ingress.c index d803cd1376..1bbc648f06 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)