: xt_tcpudp: fix wrong struct in udp_checkentry
Subsystems (2)
Hi Dave,
the attached patch fixes an incorrectly used structure in xt_tcpudp, which apparently causes problems on CRIS.
Please apply, thanks.
[NETFILTER]: xt_tcpudp: fix wrong struct in udp_checkentry
It doesn't seem to have any effect on the x86 architecture but it does have effect on the Axis CRIS architecture.
---
commit 91574ca32eb052b31c976581e9723735e9acb53f
tree 1dbeb1356c2ec6051460d5db3f29635d24716d74
parent b07d68b5ca4d55a16fab223d63d5fb36f89ff42f
author Patrick McHardy <[email protected]> Thu, 30 Aug 2007 08:47:23 +0200 committer Patrick McHardy <[email protected]> Thu, 30 Aug 2007 08:47:23 +0200
net/netfilter/xt_tcpudp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/netfilter/xt_tcpudp.c +1 -1
@@ -188,7 +188,7 @@ udp_checkentry(const char *tablename,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 );
From: Patrick McHardy <[email protected]>
Date: Thu, 30 Aug 2007 09:04:09 +0200
Quoted 6 lines
Hi Dave,
the attached patch fixes an incorrectly used structure in
xt_tcpudp, which apparently causes problems on CRIS.Please apply, thanks.
Applied, thanks Patrick.