linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: florin@iucha.net (Florin Iucha)
To: Linus Torvalds <torvalds@osdl.org>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] [TRIVIAL] Fix ipt_helper compilation. Was: Linux v2.6.0-test2
Date: Sun, 27 Jul 2003 15:22:34 -0500	[thread overview]
Message-ID: <20030727202234.GA7280@iucha.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0307271003360.3401-100000@home.osdl.org>

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

On Sun, Jul 27, 2003 at 10:08:40AM -0700, Linus Torvalds wrote:
[snip]
>   o [NETFILTER]: Fix ip_nat_ftp in 2.6.0-test1
>   o [NETFILTER]: Re-sync ipt_REJECT with 2.4.x
>   o [NETFILTER]: Fix a bug in the IRC DCC command parser of
>     ip_conntrack_irc
>   o [NETFILTER]: Fix typo in ipt_MIRROR.c
>   o [NETFILTER]: Make REJECT target compliant with RFC 1812
>   o [NETFILTER]: Fix various problems with MIRROR target
>   o [NETFILTER]: Fix issues with REJECT and MIRROR targets wrt. policy
>     routing
>   o [NETFILTER]: Fix locking of ipt_helper
>   o [NETFILTER]: Drop reference to conntrack after removing confirmed
>     expectation

One of these broke the compilation of net/ipv4/netfilter/ipt_helper.o:
  CC [M]  net/ipv4/netfilter/ipt_helper.o
In file included from net/ipv4/netfilter/ipt_helper.c:13:
include/linux/netfilter_ipv4/ip_conntrack_core.h: In function `ip_conntrack_confirm':
include/linux/netfilter_ipv4/ip_conntrack_core.h:46: error: `NF_ACCEPT' undeclared (first use in this function)
include/linux/netfilter_ipv4/ip_conntrack_core.h:46: error: (Each undeclared identifier is reported only once
include/linux/netfilter_ipv4/ip_conntrack_core.h:46: error: for each function it appears in.)

This trivial patch fixes it:

--- net/ipv4/netfilter/ipt_helper.c.orig	2003-07-27 15:19:49.000000000 -0500
+++ net/ipv4/netfilter/ipt_helper.c	2003-07-27 15:07:55.000000000 -0500
@@ -9,6 +9,7 @@
  */
 #include <linux/module.h>
 #include <linux/skbuff.h>
+#include <linux/netfilter.h>
 #include <linux/netfilter_ipv4/ip_conntrack.h>
 #include <linux/netfilter_ipv4/ip_conntrack_core.h>
 #include <linux/netfilter_ipv4/ip_conntrack_helper.h>

florin

-- 

"NT is to UNIX what a doughnut is to a particle accelerator."

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2003-07-28  1:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-27 17:08 Linux v2.6.0-test2 Linus Torvalds
2003-07-27 17:23 ` where are the sources :-) Voicu Liviu
2003-07-27 17:27   ` Linus Torvalds
2003-07-27 19:24     ` Lukasz Trabinski
2003-07-28  3:03       ` Randy.Dunlap
2003-07-28  7:46         ` Lukasz Trabinski
2003-07-29  0:19           ` Mike Fedyk
2003-07-28  0:57     ` Erik Tews
2003-07-28  1:50       ` David S. Miller
2003-07-28  5:07       ` Voicu Liviu
2003-07-28  2:22     ` Larry McVoy
2003-07-28 10:03       ` Erik Tews
2003-07-27 19:42 ` Linux v2.6.0-test2 Harald Dunkel
2003-07-28  6:36   ` Otto Solares
2003-07-27 20:22 ` Florin Iucha [this message]
2003-07-28  1:55   ` [PATCH] [TRIVIAL] Fix ipt_helper compilation. Was: " David S. Miller
2003-07-27 21:45 ` Paco Ros
2003-07-28 13:03 ` [patch 2.6.0-test2: com20020_cs.c doesn't compile Adrian Bunk
2003-07-28 13:11   ` Christoph Hellwig
2003-07-28 13:27 ` Linux v2.6.0-test2 Adrian Bunk
2003-07-29  7:25   ` Francois Romieu
2003-07-29  7:33     ` Adrian Bunk
2003-07-29  0:14 ` Linux v2.6.0-test2 (compile stats) John Cherry
2003-07-30 21:27 ` dm: v4 ioctl interface (was: Re: Linux v2.6.0-test2) Geert Uytterhoeven
2003-07-30 21:39   ` Andrew Morton
2003-07-31  8:04     ` Geert Uytterhoeven

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=20030727202234.GA7280@iucha.net \
    --to=florin@iucha.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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).