projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETFILTER]: netfilter: xt_u32 bug correction
[powerpc.git]
/
net
/
netfilter
/
xt_u32.c
diff --git
a/net/netfilter/xt_u32.c
b/net/netfilter/xt_u32.c
index
74f9b14
..
bec4279
100644
(file)
--- a/
net/netfilter/xt_u32.c
+++ b/
net/netfilter/xt_u32.c
@@
-36,7
+36,7
@@
static bool u32_match_it(const struct xt_u32 *data,
at = 0;
pos = ct->location[0].number;
- if (skb->len < 4 || pos > skb->len - 4)
;
+ if (skb->len < 4 || pos > skb->len - 4)
return false;
ret = skb_copy_bits(skb, pos, &n, sizeof(n));