Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: iptables: Devel

[NETFILTER 01/04]: netfilter: xt_u32 bug correction

 

 

iptables devel RSS feed   Index | Next | Previous | View Threaded


kaber at trash

Aug 14, 2007, 9:40 AM

Post #1 of 2 (624 views)
Permalink
[NETFILTER 01/04]: netfilter: xt_u32 bug correction

[NETFILTER]: netfilter: xt_u32 bug correction

An extraneous ";" makes xt_u32 match useless

Signed-off-by: Eric Dumazet <dada1 [at] cosmosbay>
Signed-off-by: Patrick McHardy <kaber [at] trash>

---
commit 4cbeda3b69e71c535ea820f5a94f4232598e3eea
tree e104d542dfa81fbec1656bce46a32bd0d3cdf10c
parent 39d3520c92cf7a28c07229ca00cc35a1e8026c77
author Eric Dumazet <dada1 [at] cosmosbay> Tue, 14 Aug 2007 18:35:02 +0200
committer Patrick McHardy <kaber [at] trash> Tue, 14 Aug 2007 18:35:02 +0200

net/netfilter/xt_u32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/netfilter/xt_u32.c b/net/netfilter/xt_u32.c
index 74f9b14..bec4279 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));


jengelh at computergmbh

Aug 14, 2007, 10:18 AM

Post #2 of 2 (570 views)
Permalink
Re: [NETFILTER 01/04]: netfilter: xt_u32 bug correction [In reply to]

On Aug 14 2007 18:40, Patrick McHardy wrote:
>
>[NETFILTER]: netfilter: xt_u32 bug correction
>
>An extraneous ";" makes xt_u32 match useless
>
>Signed-off-by: Eric Dumazet <dada1 [at] cosmosbay>
>Signed-off-by: Patrick McHardy <kaber [at] trash>
Signed-off-by: Jan Engelhardt <jengelh [at] gmx>




Jan
--

iptables devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.