Skip to content

Commit

Permalink
[PKT_SCHED]: Return ENOENT if qdisc module is unavailable
Browse files Browse the repository at this point in the history
Return ENOENT if qdisc module is unavailable

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jamal Hadi Salim authored and David S. Miller committed Aug 5, 2006
1 parent bea1b42 commit b9e2cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/sch_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ qdisc_create(struct net_device *dev, u32 handle, struct rtattr **tca, int *errp)
}
#endif

err = -EINVAL;
err = -ENOENT;
if (ops == NULL)
goto err_out;

Expand Down

0 comments on commit b9e2cc0

Please sign in to comment.