From: Tom Herbert Date: Sat, 20 Sep 2014 21:52:28 +0000 (-0700) Subject: tcp: move logic out of tcp_v[64]_gso_send_check X-Git-Tag: fixes-against-v3.18-rc2~81^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d020f8f73318589bf41f864b7f89f95669350873;p=pandora-kernel.git tcp: move logic out of tcp_v[64]_gso_send_check In tcp_v[46]_gso_send_check the TCP checksum is initialized to the pseudo header checksum using __tcp_v[46]_send_check. We can move this logic into new tcp[46]_gso_segment functions to be done when ip_summed != CHECKSUM_PARTIAL (ip_summed == CHECKSUM_PARTIAL should be the common case, possibly always true when taking GSO path). After this change tcp_v[46]_gso_send_check is no-op. Signed-off-by: Tom Herbert Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed