ipvs: move ip_route_me_harder for ICMP
authorJulian Anastasov <ja@ssi.bg>
Sun, 17 Oct 2010 13:35:46 +0000 (16:35 +0300)
committerSimon Horman <horms@verge.net.au>
Thu, 21 Oct 2010 08:51:43 +0000 (10:51 +0200)
commitf5a41847acc535e2e2018e397b1876ba7577d9d9
tree319e371c22e2b9f82bafa4c23b364fdfd64a916b
parent1ca5bb5450aa2401fa272efeb741ebb260d0fbb0
ipvs: move ip_route_me_harder for ICMP

  Currently, ip_route_me_harder after ip_vs_out_icmp
is called even if packet is not related to IPVS connection.
Move it into handle_response_icmp. Also, force rerouting
if sending to local client because IPv4 stack uses addresses
from the route.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_core.c