]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02523e9c0f96b9415c6e0db207e36f0fd6632459
treef5ebb8a02edcc15b9a8f534909fe908334e364a5
parent7a504765abb6b970cea48a886ef15ae85a56c53b
tcp: Handle CHECKSUM_PARTIAL for SYNACK packets for IPv6

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>
net/ipv6/tcp_ipv6.c