All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Leach <john@johnleach.co.uk>
To: netfilter-devel@lists.netfilter.org
Cc: delaunois@info.ucl.ac.be
Subject: ipt_ROUTE bug
Date: Wed, 09 Mar 2005 12:11:18 +0000	[thread overview]
Message-ID: <1110370278.7508.13.camel@lion> (raw)

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

Hi,

on compiling 2.6.11 with the ROUTE target patched in from patch-o-matic
snapshot 20050307, I get the following compile error:

  CC      net/ipv4/netfilter/ipt_ROUTE.o
net/ipv4/netfilter/ipt_ROUTE.c: In function `init':
net/ipv4/netfilter/ipt_ROUTE.c:452: error: structure has no member named
`initialized'
make[4]: *** [net/ipv4/netfilter/ipt_ROUTE.o] Error 1
make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2

the lines causing the problem are in the init() function:

        /* Initialize fake conntrack so that NAT will skip it */
        route_tee_track.nat.info.initialized |=
                (1 << IP_NAT_MANIP_SRC) | (1 << IP_NAT_MANIP_DST);

looking at ip_nat_init() in ip_nat_core.c my guess would be this should
be replaced with:

        route_tee_track.status |= IPS_NAT_DONE_MASK;

any comments?  I'm not at all familiar with the netfilter code, or even
kernel programming :S

John.


-- 
GPG: B89C D450 5B2C 74D8 58FB A360 9B06 B5C2 26F0 3047
WEB: http://johnleach.co.uk

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2005-03-09 12:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-09 12:11 John Leach [this message]
2005-03-09 12:27 ` ipt_ROUTE bug Cedric de Launois
2005-03-09 12:43   ` John Leach
2005-03-09 13:00     ` Cedric de Launois

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=1110370278.7508.13.camel@lion \
    --to=john@johnleach.co.uk \
    --cc=delaunois@info.ucl.ac.be \
    --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.