hyperv/hn: Trust host TCP segment checksum verification by default.

According to all available information, VMSWITCH always does the
TCP segment checksum verification before sending the segment to
guest.

Reviewed by:		adrian, delphij, Hongjiang Zhang <honzhan microsoft com>
Approved by:		adrian (mentor)
Sponsored by:		Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D4991
This commit is contained in:
Sepherosa Ziehau 2016-01-25 05:25:39 +00:00
parent 7ea161b0ec
commit dc1418432b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294703

View File

@ -206,7 +206,7 @@ struct hn_txdesc {
int hv_promisc_mode = 0; /* normal mode by default */
/* Trust tcp segements verification on host side. */
static int hn_trust_hosttcp = 0;
static int hn_trust_hosttcp = 1;
TUNABLE_INT("dev.hn.trust_hosttcp", &hn_trust_hosttcp);
#if __FreeBSD_version >= 1100045