Author: sephe
Date: Mon Jan 25 05:25:39 2016
New Revision: 294703
URL: https://svnweb.freebsd.org/changeset/base/294703

Log:
  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

Modified:
  head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c

Modified: head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
==============================================================================
--- head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c  Mon Jan 25 05:18:57 
2016        (r294702)
+++ head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c  Mon Jan 25 05:25:39 
2016        (r294703)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to