[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>
This commit is contained in:
parent
c21d4d5dd2
commit
e037834758
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue