mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[NET_SCHED]: sch_ingress: return proper error code in ingress_graft()
Signed-off-by: Patrick McHardy <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
c21d4d5dd2
commit
e037834758
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue