From: Eric Dumazet Date: Tue, 14 Aug 2007 20:13:28 +0000 (-0700) Subject: [NETFILTER]: netfilter: xt_u32 bug correction X-Git-Tag: v2.6.23-rc4~128^2~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35019539d71bacd98de318c34728c97b1b505b49;p=linux-2.6 [NETFILTER]: netfilter: xt_u32 bug correction An extraneous ";" makes xt_u32 match useless Signed-off-by: Eric Dumazet Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/netfilter/xt_u32.c b/net/netfilter/xt_u32.c index 74f9b14c01..bec427915b 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));