ipvs: properly declare tunnel encapsulation
authorJulian Anastasov <ja@ssi.bg>
Fri, 1 Aug 2014 07:36:17 +0000 (10:36 +0300)
committerSimon Horman <horms@verge.net.au>
Wed, 27 Aug 2014 05:31:56 +0000 (14:31 +0900)
commitea1d5d7755a3e556de78cc757d1895d5c7180548
treefab3960e5374cd13d1e1476528e65f8cc52deb8f
parentd1c85c2ebe7ffe1f1b27846bd1ba0944c513d822
ipvs: properly declare tunnel encapsulation

The tunneling method should properly use tunnel encapsulation.
Fixes problem with CHECKSUM_PARTIAL packets when TCP/UDP csum
offload is supported.

Thanks to Alex Gartrell for reporting the problem, providing
solution and for all suggestions.

Reported-by: Alex Gartrell <agartrell@fb.com>
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Alex Gartrell <agartrell@fb.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_xmit.c