Skip to content

Commit

Permalink
IPVS: Remove incorrect ip_route_me_harder(), fix IPv6
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Simon Horman <horms@verge.net.au>
  • Loading branch information
Julius Volz authored and Simon Horman committed Sep 8, 2008
1 parent 503e81f commit 9d7f2a2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions net/ipv4/ipvs/ip_vs_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9d7f2a2

Please sign in to comment.