netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] IPVS: Remove incorrect ip_route_me_harder(), fix IPv6
@ 2008-09-08 12:55 Julius Volz
  2008-09-08 23:44 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Julius Volz @ 2008-09-08 12:55 UTC (permalink / raw)
  To: netdev, lvs-devel; +Cc: horms, siim, ja, malcolm, vbusam, herbert, Julius Volz

Remove an incorrect ip_route_me_harder() that was probably a result of
merging my IPv6 patches with the local client patches. With this, IPv6+NAT
are working again.

Signed-off-by: Julius Volz <juliusv@google.com>

 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/net/ipv4/ipvs/ip_vs_core.c b/net/ipv4/ipvs/ip_vs_core.c
index f5180ac..bdc92d7 100644
--- a/net/ipv4/ipvs/ip_vs_core.c
+++ b/net/ipv4/ipvs/ip_vs_core.c
@@ -904,15 +904,6 @@ handle_response(int af, struct sk_buff *skb, struct ip_vs_protocol *pp,
 		if (ip_route_me_harder(skb, RTN_LOCAL) != 0)
 			goto drop;
 
-	/* For policy routing, packets originating from this
-	 * machine itself may be routed differently to packets
-	 * passing through.  We want this packet to be routed as
-	 * if it came from this machine itself.  So re-compute
-	 * the routing information.
-	 */
-	if (ip_route_me_harder(skb, RTN_LOCAL) != 0)
-		goto drop;
-
 	IP_VS_DBG_PKT(10, pp, skb, 0, "After SNAT");
 
 	ip_vs_out_stats(cp, skb);
-- 
1.5.4.5


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

* Re: [PATCH] IPVS: Remove incorrect ip_route_me_harder(), fix IPv6
  2008-09-08 12:55 [PATCH] IPVS: Remove incorrect ip_route_me_harder(), fix IPv6 Julius Volz
@ 2008-09-08 23:44 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2008-09-08 23:44 UTC (permalink / raw)
  To: Julius Volz; +Cc: netdev, lvs-devel, siim, ja, malcolm, vbusam, herbert

On Mon, Sep 08, 2008 at 02:55:42PM +0200, Julius Volz wrote:
> Remove an incorrect ip_route_me_harder() that was probably a result of
> merging my IPv6 patches with the local client patches. With this, IPv6+NAT
> are working again.

Hi Julius,

I have applied this to lvs-next-2.6, along with my first CSUM patch,
as we discussed.

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

end of thread, other threads:[~2008-09-08 23:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 12:55 [PATCH] IPVS: Remove incorrect ip_route_me_harder(), fix IPv6 Julius Volz
2008-09-08 23:44 ` Simon Horman

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).