Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90895
b: refs/heads/master
c: f5ba2d3
h: refs/heads/master
i:
  90893: 9a8e931
  90891: 03f1ce2
  90887: ba8c50c
  90879: a088329
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Apr 18, 2008
1 parent a3b1e1d commit bb9ae07
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: 53083773dcbd3c80477e2ace143e361e1e806745
refs/heads/master: f5ba2d32170679eb9b7c251ac3d9687916a41c18
2 changes: 1 addition & 1 deletion trunk/net/sched/act_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static int tcf_simp_init(struct nlattr *nla, struct nlattr *est,
return -EINVAL;

datalen = nla_len(tb[TCA_DEF_DATA]);
if (datalen <= 0)
if (datalen == 0)
return -EINVAL;

pc = tcf_hash_check(parm->index, a, bind, &simp_hash_info);
Expand Down

0 comments on commit bb9ae07

Please sign in to comment.