All of lore.kernel.org
 help / color / mirror / Atom feed
* ipt_ROUTE bug
@ 2005-03-09 12:11 John Leach
  2005-03-09 12:27 ` Cedric de Launois
  0 siblings, 1 reply; 4+ messages in thread
From: John Leach @ 2005-03-09 12:11 UTC (permalink / raw)
  To: netfilter-devel; +Cc: delaunois

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-09 13:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-09 12:11 ipt_ROUTE bug John Leach
2005-03-09 12:27 ` Cedric de Launois
2005-03-09 12:43   ` John Leach
2005-03-09 13:00     ` Cedric de Launois

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.