Skip to contentSkip to conversation

IPVS: Remove incorrect ip_route_me_harder(), fix IPv6

PATCH In review Julius Volz 2 participants 2 messages Sep 8, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IPVS: Remove incorrect ip_route_me_harder(), fix IPv6

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.

 1 files changed, 0 insertions(+), 9 deletions(-)
net/ipv4/ipvs/ip_vs_core.c +0 -9
index f5180ac..bdc92d7 100644
@@ -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);
Signature · 1 line
1.5.4.5
maintainer
#1 lore raw
Quoted 3 lines · 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.

Hi Julius,

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