提交 35019539 编写于 作者: E Eric Dumazet 提交者: David S. Miller

[NETFILTER]: netfilter: xt_u32 bug correction

An extraneous ";" makes xt_u32 match useless
Signed-off-by: NEric Dumazet <dada1@cosmosbay.com>
Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 28e8351a
...@@ -36,7 +36,7 @@ static bool u32_match_it(const struct xt_u32 *data, ...@@ -36,7 +36,7 @@ static bool u32_match_it(const struct xt_u32 *data,
at = 0; at = 0;
pos = ct->location[0].number; pos = ct->location[0].number;
if (skb->len < 4 || pos > skb->len - 4); if (skb->len < 4 || pos > skb->len - 4)
return false; return false;
ret = skb_copy_bits(skb, pos, &n, sizeof(n)); ret = skb_copy_bits(skb, pos, &n, sizeof(n));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册