* [PATCH] ROUTE target fixes for 2.6.10+
@ 2005-02-10 18:25 Phil Oester
2005-02-14 23:15 ` Harald Welte
0 siblings, 1 reply; 2+ messages in thread
From: Phil Oester @ 2005-02-10 18:25 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
Since initialized has been removed, the below is needed for 2.6.10+
kernels.
This fixes bugzilla #284
Phil
[-- Attachment #2: patch-route --]
[-- Type: text/plain, Size: 694 bytes --]
diff -ru pom-orig/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c pom-new/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c
--- pom-orig/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c 2004-12-13 21:58:31.000000000 -0500
+++ pom-new/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c 2005-02-10 13:16:19.235968840 -0500
@@ -449,8 +449,7 @@
/* - and look it like as a confirmed connection */
set_bit(IPS_CONFIRMED_BIT, &route_tee_track.status);
/* 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);
+ route_tee_track.status |= IPS_NAT_DONE_MASK;
return ipt_register_target(&ipt_route_reg);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ROUTE target fixes for 2.6.10+
2005-02-10 18:25 [PATCH] ROUTE target fixes for 2.6.10+ Phil Oester
@ 2005-02-14 23:15 ` Harald Welte
0 siblings, 0 replies; 2+ messages in thread
From: Harald Welte @ 2005-02-14 23:15 UTC (permalink / raw)
To: Phil Oester; +Cc: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
On Thu, Feb 10, 2005 at 10:25:16AM -0800, Phil Oester wrote:
> Since initialized has been removed, the below is needed for 2.6.10+
> kernels.
>
> This fixes bugzilla #284
thanks, committed to the http://svn.netfilter.org/cgi-bin/viewcvs.cgi/branches/patch-o-matic-ng/linux-2.6.11 tree (Rev 3691)
--
- Harald Welte <laforge@netfilter.org> http://www.netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-14 23:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10 18:25 [PATCH] ROUTE target fixes for 2.6.10+ Phil Oester
2005-02-14 23:15 ` Harald Welte
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.