From: Pravin B Shelar Date: Sun, 24 Feb 2013 20:05:05 +0000 (+0000) Subject: IP_GRE: Fix GRE_CSUM case. X-Git-Tag: v3.9-rc1~70^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f10098fb978c3cdd8ee7d72f7aa4330873f4544;p=pandora-kernel.git IP_GRE: Fix GRE_CSUM case. commit "ip_gre: allow CSUM capable devices to handle packets" aa0e51cdda005cd37e2, broke GRE_CSUM case. GRE_CSUM needs checksum computed for inner packet. Therefore csum-calculation can not be offloaded if tunnel device requires GRE_CSUM. Following patch fixes it by computing inner packet checksum for GRE_CSUM type, for all other type of GRE devices csum is offloaded. CC: Dmitry Kravkov Signed-off-by: Pravin B Shelar Acked-by: Dmitry Kravkov Signed-off-by: David S. Miller --- Reading git-diff-tree failed