From: Herbert Xu Date: Fri, 22 Nov 2013 02:32:11 +0000 (+0800) Subject: gro: Clean up tcpX_gro_receive checksum verification X-Git-Tag: v3.13-rc3~28^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8ee93ba80b5a0b6c3c06b65c34dd1276f16c047;p=pandora-kernel.git gro: Clean up tcpX_gro_receive checksum verification This patch simplifies the checksum verification in tcpX_gro_receive by reusing the CHECKSUM_COMPLETE code for CHECKSUM_NONE. All it does for CHECKSUM_NONE is compute the partial checksum and then treat it as if it came from the hardware (CHECKSUM_COMPLETE). Signed-off-by: Herbert Xu Cheers, Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed