Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2019 08:21:15 +0000 (UTC)
From:      Wei Hu <whu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349857 - head/sys/dev/hyperv/netvsc
Message-ID:  <201907090821.x698LFJS074060@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: whu
Date: Tue Jul  9 08:21:14 2019
New Revision: 349857
URL: https://svnweb.freebsd.org/changeset/base/349857

Log:
  hyperv/vmbus: Fix the wrong size in ndis_offload structure
  
  Submitted by:	whu
  MFC after:	2 weeks
  Sponsored by:	Microsoft

Modified:
  head/sys/dev/hyperv/netvsc/ndis.h

Modified: head/sys/dev/hyperv/netvsc/ndis.h
==============================================================================
--- head/sys/dev/hyperv/netvsc/ndis.h	Tue Jul  9 07:24:18 2019	(r349856)
+++ head/sys/dev/hyperv/netvsc/ndis.h	Tue Jul  9 08:21:14 2019	(r349857)
@@ -115,8 +115,8 @@ struct ndis_offload_params {
 	/* NDIS >= 6.30 */
 	uint8_t			ndis_rsc_ip4;	/* NDIS_OFFLOAD_RSC_ */
 	uint8_t			ndis_rsc_ip6;	/* NDIS_OFFLOAD_RSC_ */
-	uint8_t			ndis_encap;	/* NDIS_OFFLOAD_SET_ */
-	uint8_t			ndis_encap_types;/* NDIS_ENCAP_TYPE_ */
+	uint32_t		ndis_encap;	/* NDIS_OFFLOAD_SET_ */
+	uint32_t		ndis_encap_types;/* NDIS_ENCAP_TYPE_ */
 };
 
 #define	NDIS_OFFLOAD_PARAMS_SIZE	sizeof(struct ndis_offload_params)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907090821.x698LFJS074060>