List Info

Thread: netfilter: xt_tcpudp.c: wrong struct in udp_checkentry




netfilter: xt_tcpudp.c: wrong struct in udp_checkentry
user name
2007-08-24 06:50:53
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);


Re: netfilter: xt_tcpudp.c: wrong struct in udp_checkentry
country flaguser name
Germany
2007-08-29 12:12:09
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.



[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )