mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 15:11:50 +00:00
[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>
This commit is contained in:
parent
28e8351ac2
commit
35019539d7
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user