From: Julian Anastasov Date: Sun, 17 Oct 2010 13:17:20 +0000 (+0300) Subject: ipvs: optimize checksums for apps X-Git-Tag: v2.6.37-rc1~147^2~3^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b27b10f5863a5b63e46304a71aa01463d1efac4;p=pandora-kernel.git ipvs: optimize checksums for apps Avoid full checksum calculation for apps that can provide info whether csum was broken after payload mangling. For now only ip_vs_ftp mangles payload and it updates the csum, so the full recalculation is avoided for all packets. Add CHECKSUM_UNNECESSARY for snat_handler (TCP and UDP). It is needed to support SNAT from local address for the case when csum is fully recalculated. Signed-off-by: Julian Anastasov Signed-off-by: Simon Horman --- Reading git-diff-tree failed