diff options
author | Julian Anastasov | 2010-10-17 15:17:20 +0200 |
---|---|---|
committer | Simon Horman | 2010-10-21 10:50:02 +0200 |
commit | 8b27b10f5863a5b63e46304a71aa01463d1efac4 (patch) | |
tree | 89f5db8881b0297cda00cad3c2cdedf685e2757f /virt | |
parent | ipvs: fix CHECKSUM_PARTIAL for TCP, UDP (diff) | |
download | kernel-qcow2-linux-8b27b10f5863a5b63e46304a71aa01463d1efac4.tar.gz kernel-qcow2-linux-8b27b10f5863a5b63e46304a71aa01463d1efac4.tar.xz kernel-qcow2-linux-8b27b10f5863a5b63e46304a71aa01463d1efac4.zip |
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 <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions