X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsched%2Fsch_api.c;fp=net%2Fsched%2Fsch_api.c;h=9e315bcbc07268d7d56f3f3c982dd2d37a4f7fc1;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=0b6489291140f0324c73e8a8ddb0aad716c03593;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 0b6489291..9e315bcbc 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c @@ -15,6 +15,7 @@ * Jamal Hadi Salim : 990601: ingress support */ +#include #include #include #include @@ -430,7 +431,7 @@ qdisc_create(struct net_device *dev, u32 handle, struct rtattr **tca, int *errp) } #endif - err = -ENOENT; + err = -EINVAL; if (ops == NULL) goto err_out;