Skip to content

Commit

Permalink
[NET_SCHED]: sch_ingress: return proper error code in ingress_graft()
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick McHardy <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
kaber authored and davem330 committed Jan 28, 2008
1 parent c21d4d5 commit e037834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/sch_ingress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e037834

Please sign in to comment.