From: Patrick McHardy <kaber@trash.net>
To: "David S. Miller" <davem@davemloft.net>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: [NETFILTER]: xt_tcpudp: fix wrong struct in udp_checkentry
Date: Thu, 30 Aug 2007 09:04:09 +0200 [thread overview]
Message-ID: <46D66BE9.5040304@trash.net> (raw)
[-- 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);
next reply other threads:[~2007-08-30 7:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-30 7:04 Patrick McHardy [this message]
2007-08-31 5:36 ` [NETFILTER]: xt_tcpudp: fix wrong struct in udp_checkentry David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46D66BE9.5040304@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).