netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [NETFILTER]: xt_tcpudp: fix wrong struct in udp_checkentry
@ 2007-08-30  7:04 Patrick McHardy
  2007-08-31  5:36 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick McHardy @ 2007-08-30  7:04 UTC (permalink / raw)
  To: David S. Miller; +Cc: Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

Hi Dave,

the attached patch fixes an incorrectly used structure
in xt_tcpudp, which apparently causes problems on CRIS.

Please apply, thanks.


[-- Attachment #2: x --]
[-- Type: text/plain, Size: 1134 bytes --]

[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.

Signed-off-by: Jesper Bengtsson <jesper.bengtsson_at_axis.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>

---
commit 91574ca32eb052b31c976581e9723735e9acb53f
tree 1dbeb1356c2ec6051460d5db3f29635d24716d74
parent b07d68b5ca4d55a16fab223d63d5fb36f89ff42f
author Patrick McHardy <kaber@trash.net> Thu, 30 Aug 2007 08:47:23 +0200
committer Patrick McHardy <kaber@trash.net> Thu, 30 Aug 2007 08:47:23 +0200

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

diff --git a/net/netfilter/xt_tcpudp.c b/net/netfilter/xt_tcpudp.c
index ab7d845..223f9bd 100644
--- a/net/netfilter/xt_tcpudp.c
+++ b/net/netfilter/xt_tcpudp.c
@@ -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);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [NETFILTER]: xt_tcpudp: fix wrong struct in udp_checkentry
  2007-08-30  7:04 [NETFILTER]: xt_tcpudp: fix wrong struct in udp_checkentry Patrick McHardy
@ 2007-08-31  5:36 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-08-31  5:36 UTC (permalink / raw)
  To: kaber; +Cc: netfilter-devel

From: Patrick McHardy <kaber@trash.net>
Date: Thu, 30 Aug 2007 09:04:09 +0200

> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-31  5:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-30  7:04 [NETFILTER]: xt_tcpudp: fix wrong struct in udp_checkentry Patrick McHardy
2007-08-31  5:36 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).