Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79532
b: refs/heads/master
c: 6d834e0
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jan 28, 2008
1 parent abe3bfb commit 38b913b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: b03f4672007e533c8dbf0965f995182586216bf1
refs/heads/master: 6d834e04e596d6803cf1074a07fd67e7b5662f1b
8 changes: 4 additions & 4 deletions trunk/net/sched/act_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,11 +997,11 @@ find_dump_kind(struct nlmsghdr *n)
if (nla_parse(tb, TCA_ACT_MAX_PRIO, nla_data(tb1),
NLMSG_ALIGN(nla_len(tb1)), NULL) < 0)
return NULL;
if (tb[0] == NULL)
return NULL;

if (nla_parse(tb2, TCA_ACT_MAX, nla_data(tb[0]),
nla_len(tb[0]), NULL) < 0)
if (tb[1] == NULL)
return NULL;
if (nla_parse(tb2, TCA_ACT_MAX, nla_data(tb[1]),
nla_len(tb[1]), NULL) < 0)
return NULL;
kind = tb2[TCA_ACT_KIND];

Expand Down

0 comments on commit 38b913b

Please sign in to comment.