git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pkt_sched: sch_multiq: Change errno on non-multiqueue devices use.
[safe/jmp/linux-2.6]
/
net
/
sched
/
sch_multiq.c
diff --git
a/net/sched/sch_multiq.c
b/net/sched/sch_multiq.c
index
7e15186
..
9127312
100644
(file)
--- a/
net/sched/sch_multiq.c
+++ b/
net/sched/sch_multiq.c
@@
-202,7
+202,7
@@
static int multiq_tune(struct Qdisc *sch, struct nlattr *opt)
int i;
if (!netif_is_multiqueue(qdisc_dev(sch)))
- return -E
INVAL
;
+ return -E
OPNOTSUPP
;
if (nla_len(opt) < sizeof(*qopt))
return -EINVAL;