projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e8351
)
[NETFILTER]: netfilter: xt_u32 bug correction
author
Eric Dumazet
<dada1@cosmosbay.com>
Tue, 14 Aug 2007 20:13:28 +0000
(13:13 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 14 Aug 2007 20:13:28 +0000
(13:13 -0700)
An extraneous ";" makes xt_u32 match useless
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_u32.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/xt_u32.c
b/net/netfilter/xt_u32.c
index 74f9b14c012f45e819938e6bb5c2873163d0cd13..bec427915b302fa2d9731de6045a9a6e8bd14ee4 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));