Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2021 05:05:31 GMT
From:      Wei Hu <whu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b05c1dd0d162 - stable/12 - hyperv/vmbus: Fix the wrong size in ndis_offload structure
Message-ID:  <202103150505.12F55VKQ061583@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by whu:

URL: https://cgit.FreeBSD.org/src/commit/?id=b05c1dd0d1622fba5810513f3cefee4e34041c36

commit b05c1dd0d1622fba5810513f3cefee4e34041c36
Author:     Wei Hu <whu@FreeBSD.org>
AuthorDate: 2019-07-09 08:21:14 +0000
Commit:     Wei Hu <whu@FreeBSD.org>
CommitDate: 2021-03-15 05:03:58 +0000

    hyperv/vmbus: Fix the wrong size in ndis_offload structure
    
    Submitted by:   whu
    MFC after:      2 weeks
    Sponsored by:   Microsoft
    
    (cherry picked from commit 23a499203c5b3fd74f781d1383269a6e168588cf)
---
 sys/dev/hyperv/netvsc/ndis.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/hyperv/netvsc/ndis.h b/sys/dev/hyperv/netvsc/ndis.h
index 4e34b51ca30f..32b6aa307452 100644
--- a/sys/dev/hyperv/netvsc/ndis.h
+++ b/sys/dev/hyperv/netvsc/ndis.h
@@ -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?202103150505.12F55VKQ061583>