From: Marcus Sundberg <marcus@ingate.com>
To: netfilter-devel@lists.netfilter.org
Cc: Harald Welte <laforge@netfilter.org>, Patrick McHardy <kaber@trash.net>
Subject: [PATCH] ctnetlink: Fix dumping of helper name.
Date: Tue, 27 Dec 2005 14:36:12 +0100 [thread overview]
Message-ID: <43B1434C.8000005@ingate.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
Hi,
this patch fixes ctnetlink dumping of the helper name.
//Marcus
--
---------------------------------------+--------------------------
Marcus Sundberg <marcus@ingate.com> | Firewalls with SIP & NAT
Software Developer, Ingate Systems AB | http://www.ingate.com/
[-- Attachment #2: ctnetlink-dump_helpinfo.diff --]
[-- Type: text/x-patch, Size: 666 bytes --]
[NETFILTER] ctnetlink: Fix dumping of helper name.
Properly dump the helper name instead of internal kernel data.
Signed-off-by: Marcus Sundberg <marcus@ingate.com>
--- linux-2.6.15-rc7/net/ipv4/netfilter/ip_conntrack_netlink.c 2005/12/27 13:21:52 1.1
+++ linux-2.6.15-rc7/net/ipv4/netfilter/ip_conntrack_netlink.c 2005/12/27 13:21:54
@@ -160,7 +160,7 @@ ctnetlink_dump_helpinfo(struct sk_buff *
return 0;
nest_helper = NFA_NEST(skb, CTA_HELP);
- NFA_PUT(skb, CTA_HELP_NAME, CTA_HELP_MAXNAMESIZE, &ct->helper->name);
+ NFA_PUT(skb, CTA_HELP_NAME, CTA_HELP_MAXNAMESIZE, ct->helper->name);
if (ct->helper->to_nfattr)
ct->helper->to_nfattr(skb, ct);
next reply other threads:[~2005-12-27 13:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-27 13:36 Marcus Sundberg [this message]
2005-12-27 13:46 ` [PATCH] ctnetlink: Fix dumping of helper name Pablo Neira Ayuso
2006-01-03 12:48 ` Patrick McHardy
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=43B1434C.8000005@ingate.com \
--to=marcus@ingate.com \
--cc=kaber@trash.net \
--cc=laforge@netfilter.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.