X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Fnetfilter%2Fxt_u32.c;h=bec427915b302fa2d9731de6045a9a6e8bd14ee4;hb=a52cefc80fc92981592c688d1c8067442afe4cec;hp=74f9b14c012f45e819938e6bb5c2873163d0cd13;hpb=edd5f25f7475013b44f7942bb3b25022792a9c9d;p=linux-2.6-omap-h63xx.git diff --git a/net/netfilter/xt_u32.c b/net/netfilter/xt_u32.c index 74f9b14c012..bec427915b3 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));