Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215124
b: refs/heads/master
c: e18434c
h: refs/heads/master
v: v3
  • Loading branch information
Changli Gao authored and David S. Miller committed Oct 9, 2010
1 parent 829f673 commit a085d4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 4315d834c1496ddca977e9e22002b77c85bfec2c
refs/heads/master: e18434c45765cfc4a74b5c61da9e9fbc6ddd3d5f
4 changes: 2 additions & 2 deletions trunk/net/sched/sch_htb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1302,14 +1302,14 @@ static int htb_change_class(struct Qdisc *sch, u32 classid,
struct htb_class *cl = (struct htb_class *)*arg, *parent;
struct nlattr *opt = tca[TCA_OPTIONS];
struct qdisc_rate_table *rtab = NULL, *ctab = NULL;
struct nlattr *tb[TCA_HTB_RTAB + 1];
struct nlattr *tb[__TCA_HTB_MAX];
struct tc_htb_opt *hopt;

/* extract all subattrs from opt attr */
if (!opt)
goto failure;

err = nla_parse_nested(tb, TCA_HTB_RTAB, opt, htb_policy);
err = nla_parse_nested(tb, TCA_HTB_MAX, opt, htb_policy);
if (err < 0)
goto failure;

Expand Down

0 comments on commit a085d4b

Please sign in to comment.