mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue