Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14150
b: refs/heads/master
c: c0400c4
h: refs/heads/master
v: v3
  • Loading branch information
Pablo Neira Ayuso authored and David S. Miller committed Nov 14, 2005
1 parent 75b92f8 commit d712028
Show file tree
Hide file tree
Showing 2 changed files with 5 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: dbd36ea496726460299842fdbeaaa7fff2f0c5c7
refs/heads/master: c0400c4f5a08cfd1c657f7f616fcf1dfbd76a4d7
5 changes: 4 additions & 1 deletion trunk/include/linux/netfilter/nfnetlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,14 @@ extern void nfattr_parse(struct nfattr *tb[], int maxattr,

#define nfattr_bad_size(tb, max, cta_min) \
({ int __i, __res = 0; \
for (__i=0; __i<max; __i++) \
for (__i=0; __i<max; __i++) { \
if (!cta_min[__i]) \
continue; \
if (tb[__i] && NFA_PAYLOAD(tb[__i]) < cta_min[__i]){ \
__res = 1; \
break; \
} \
} \
__res; \
})

Expand Down

0 comments on commit d712028

Please sign in to comment.