All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: "David S. Miller" <davem@redhat.com>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: [PATCH 2.6 2/6]: make ipt_helper depend on ip_conntrack again
Date: Sun, 26 Sep 2004 23:52:08 +0200	[thread overview]
Message-ID: <41573A08.7040105@trash.net> (raw)

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

The "kill struct nf_ct_info" patch moved ip_conntrack_get
to ip_conntrack.h. Before this change ipt_helper depended
on ip_conntrack, this patch restores this behaviour. It
also removes the EXPORT_SYMBOL for ip_conntrack_get.



[-- Attachment #2: 02.diff --]
[-- Type: text/x-patch, Size: 1574 bytes --]

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/26 23:14:34+02:00 kaber@coreworks.de 
#   [NETFILTER]: make ipt_helper depend on ipt_conntrack again
#   
#   Signed-off-by: Patrick McHardy <kaber@trash.net>
# 
# net/ipv4/netfilter/ipt_helper.c
#   2004/09/26 23:14:10+02:00 kaber@coreworks.de +1 -0
#   [NETFILTER]: make ipt_helper depend on ipt_conntrack again
#   
#   Signed-off-by: Patrick McHardy <kaber@trash.net>
# 
# net/ipv4/netfilter/ip_conntrack_standalone.c
#   2004/09/26 23:14:10+02:00 kaber@coreworks.de +0 -1
#   [NETFILTER]: make ipt_helper depend on ipt_conntrack again
#   
#   Signed-off-by: Patrick McHardy <kaber@trash.net>
# 
diff -Nru a/net/ipv4/netfilter/ip_conntrack_standalone.c b/net/ipv4/netfilter/ip_conntrack_standalone.c
--- a/net/ipv4/netfilter/ip_conntrack_standalone.c	2004-09-26 23:22:27 +02:00
+++ b/net/ipv4/netfilter/ip_conntrack_standalone.c	2004-09-26 23:22:27 +02:00
@@ -871,7 +871,6 @@
 EXPORT_SYMBOL(invert_tuplepr);
 EXPORT_SYMBOL(ip_conntrack_alter_reply);
 EXPORT_SYMBOL(ip_conntrack_destroyed);
-EXPORT_SYMBOL(ip_conntrack_get);
 EXPORT_SYMBOL(need_ip_conntrack);
 EXPORT_SYMBOL(ip_conntrack_helper_register);
 EXPORT_SYMBOL(ip_conntrack_helper_unregister);
diff -Nru a/net/ipv4/netfilter/ipt_helper.c b/net/ipv4/netfilter/ipt_helper.c
--- a/net/ipv4/netfilter/ipt_helper.c	2004-09-26 23:22:27 +02:00
+++ b/net/ipv4/netfilter/ipt_helper.c	2004-09-26 23:22:27 +02:00
@@ -107,6 +107,7 @@
 
 static int __init init(void)
 {
+	need_ip_conntrack();
 	return ipt_register_match(&helper_match);
 }
 

                 reply	other threads:[~2004-09-26 21:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=41573A08.7040105@trash.net \
    --to=kaber@trash.net \
    --cc=davem@redhat.com \
    --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.