提交 e0378347 编写于 作者: P Patrick McHardy 提交者: David S. Miller

[NET_SCHED]: sch_ingress: return proper error code in ingress_graft()

Signed-off-by: NPatrick McHardy <kaber@trash.net>
Acked-by: NJamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c21d4d5d
...@@ -35,7 +35,7 @@ struct ingress_qdisc_data { ...@@ -35,7 +35,7 @@ struct ingress_qdisc_data {
static int ingress_graft(struct Qdisc *sch, unsigned long arg, static int ingress_graft(struct Qdisc *sch, unsigned long arg,
struct Qdisc *new, struct Qdisc **old) struct Qdisc *new, struct Qdisc **old)
{ {
return 1; return -EOPNOTSUPP;
} }
static struct Qdisc *ingress_leaf(struct Qdisc *sch, unsigned long arg) static struct Qdisc *ingress_leaf(struct Qdisc *sch, unsigned long arg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册