]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r235961:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 8 Jul 2012 12:12:34 +0000 (12:12 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 8 Jul 2012 12:12:34 +0000 (12:12 +0000)
commita81b1797bd8426c523ab9a46a4a889026317a8aa
treef5441b0c336adbc9008525d08937ee1e6ed68315
parent8cdfa787e4496894f43793fedc90bd1909b8aadb
MFC r235961:

   Add code to handle pre-checked TCP checksums as indicated by mbuf
   flags to save the entire computation for validation if not needed.

   In the IPv6 TCP output path only compute the pseudo-header checksum,
   set the checksum offset in the mbuf field along the appropriate flag
   as done in IPv4.

   In tcp_respond() just initialize the IPv6 payload length to 0 as
   ip6_output() will properly set it.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/stable/9@238237 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/tcp_input.c
sys/netinet/tcp_output.c
sys/netinet/tcp_subr.c
sys/netinet/tcp_syncache.c
sys/netinet/tcp_timewait.c