tcp: Handle CHECKSUM_PARTIAL for SYNACK packets for IPv6
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 11 Apr 2010 02:15:54 +0000 (02:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Apr 2010 22:29:08 +0000 (15:29 -0700)
tcp: Handle CHECKSUM_PARTIAL for SYNACK packets for IPv6

This patch moves the common code between tcp_v6_send_check and
tcp_v6_gso_send_check into a new function __tcp_v6_send_check.

It then uses the new function in tcp_v6_send_synack as well as
tcp_v6_send_response so that they handle CHECKSUM_PARTIAL properly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Yinghai <yinghai.lu@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found