Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327721
b: refs/heads/master
c: 9eca2eb
h: refs/heads/master
i:
  327719: 509a242
v: v3
  • Loading branch information
Julian Anastasov authored and David S. Miller committed Aug 30, 2012
1 parent 66ef27e commit 3760af0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e8c75e2c1c6965d071d50620278df78f65cfe082
refs/heads/master: 9eca2eb9942ee0b6f2bc76485e16e334aee2c0bf
4 changes: 4 additions & 0 deletions trunk/lib/nlattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ static const u16 nla_attr_minlen[NLA_TYPE_MAX+1] = {
[NLA_U64] = sizeof(u64),
[NLA_MSECS] = sizeof(u64),
[NLA_NESTED] = NLA_HDRLEN,
[NLA_S8] = sizeof(s8),
[NLA_S16] = sizeof(s16),
[NLA_S32] = sizeof(s32),
[NLA_S64] = sizeof(s64),
};

static int validate_nla(const struct nlattr *nla, int maxtype,
Expand Down

0 comments on commit 3760af0

Please sign in to comment.