Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276988
b: refs/heads/master
c: 7838f2c
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Graf authored and David S. Miller committed Dec 23, 2011
1 parent 50d6e2d commit a04052c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a13861a28b90541aa207532d237e7a940f1b1c7b
refs/heads/master: 7838f2ce36b6ab5c13ef20b1857e3bbd567f1759
2 changes: 1 addition & 1 deletion trunk/net/sched/sch_mqprio.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static int mqprio_init(struct Qdisc *sch, struct nlattr *opt)
if (!netif_is_multiqueue(dev))
return -EOPNOTSUPP;

if (nla_len(opt) < sizeof(*qopt))
if (!opt || nla_len(opt) < sizeof(*qopt))
return -EINVAL;

qopt = nla_data(opt);
Expand Down

0 comments on commit a04052c

Please sign in to comment.