From: Julian Anastasov Date: Tue, 10 May 2011 12:46:05 +0000 (+0000) Subject: ipvs: Remove all remaining references to rt->rt_{src,dst} X-Git-Tag: v3.0-rc1~377^2~104^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c92f5ca2e5120796c56455e0a4b7cc0dfd6ceb49;p=pandora-kernel.git ipvs: Remove all remaining references to rt->rt_{src,dst} Remove all remaining references to rt->rt_{src,dst} by using dest->dst_saddr to cache saddr (used for TUN mode). For ICMP in FORWARD hook just restrict the rt_mode for NAT to disable LOCALNODE. All other modes do not allow IP_VS_RT_MODE_RDR, so we should be safe with the ICMP forwarding. Using cp->daddr as replacement for rt_dst is safe for all modes except BYPASS, even when cp->dest is NULL because it is cp->daddr that is used to assign cp->dest for sync-ed connections. Signed-off-by: Julian Anastasov Signed-off-by: David S. Miller --- Reading git-diff-tree failed