
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);
|