summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2007-08-15 00:13:28 +0400
committerDavid S. Miller <davem@davemloft.net>2007-08-15 00:13:28 +0400
commit35019539d71bacd98de318c34728c97b1b505b49 (patch)
tree9cb9ff580b03e965145e53e472955377f4807ade /net
parent28e8351ac22de25034e048c680014ad824323c65 (diff)
downloadlinux-35019539d71bacd98de318c34728c97b1b505b49.tar.xz
[NETFILTER]: netfilter: xt_u32 bug correction
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>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/xt_u32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_u32.c b/net/netfilter/xt_u32.c
index 74f9b14c012f..bec427915b30 100644
--- 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));