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

Mailing List Archive: iptables: Devel

[PATCH] netfilter: xt_tcpudp.c: wrong struct in udp_checkentry

 

 

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


jesper.bengtsson at axis

Aug 24, 2007, 4:50 AM

Post #1 of 4 (880 views)
Permalink
[PATCH] netfilter: xt_tcpudp.c: wrong struct in udp_checkentry

I found what looks like a copy-paste error in udp_checkentry, see patch
below.
It doesn't seem to have any effect on the x86 architecture but it does
have effect on the Axis CRIS architecture.

Best regards,
Jesper Bengtsson

diff -u -r1.1.1.5 -r1.2
--- net/netfilter/xt_tcpudp.c 6 Mar 2007 08:51:40 -0000 1.1.1.5
+++ net/netfilter/xt_tcpudp.c 24 Aug 2007 09:22:26 -0000 1.2
@@ -191,7 +191,7 @@
void *matchinfo,
unsigned int hook_mask)
{
- const struct xt_tcp *udpinfo = matchinfo;
+ const struct xt_udp *udpinfo = matchinfo;

/* Must specify no unknown invflags */
return !(udpinfo->invflags & ~XT_UDP_INV_MASK);


kaber at trash

Aug 29, 2007, 10:12 AM

Post #2 of 4 (828 views)
Permalink
Re: [PATCH] netfilter: xt_tcpudp.c: wrong struct in udp_checkentry [In reply to]

Jesper Bengtsson wrote:
> I found what looks like a copy-paste error in udp_checkentry, see patch
> below.
> It doesn't seem to have any effect on the x86 architecture but it does
> have effect on the Axis CRIS architecture.


Thanks, please send me a Signed-off-by: line so I can apply it.


jesper.bengtsson at axis

Aug 29, 2007, 11:43 PM

Post #3 of 4 (823 views)
Permalink
RE: [PATCH] netfilter: xt_tcpudp.c: wrong struct in udp_checkentry [In reply to]

Hi Patrick,

Signed-off by: Jesper Bengtsson <jesper.bengtsson_at_axis.com>

Thanks,
Jesper


> -----Original Message-----
> From: Patrick McHardy [mailto:kaber [at] trash]
> Sent: den 29 augusti 2007 19:12
> To: Jesper Bengtsson
> Cc: netfilter-devel [at] lists
> Subject: Re: [PATCH] netfilter: xt_tcpudp.c: wrong struct in
> udp_checkentry
>
>
> Jesper Bengtsson wrote:
> > I found what looks like a copy-paste error in
> udp_checkentry, see patch
> > below.
> > It doesn't seem to have any effect on the x86 architecture
> but it does
> > have effect on the Axis CRIS architecture.
>
>
> Thanks, please send me a Signed-off-by: line so I can apply it.
>
>


kaber at trash

Aug 29, 2007, 11:47 PM

Post #4 of 4 (828 views)
Permalink
Re: [PATCH] netfilter: xt_tcpudp.c: wrong struct in udp_checkentry [In reply to]

Jesper Bengtsson wrote:
> Signed-off by: Jesper Bengtsson <jesper.bengtsson_at_axis.com>

Applied, thanks Jesper.

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.