diff options
author | Wei Hu <whu@FreeBSD.org> | 2019-07-09 08:21:14 +0000 |
---|---|---|
committer | Wei Hu <whu@FreeBSD.org> | 2021-03-15 05:03:58 +0000 |
commit | b05c1dd0d1622fba5810513f3cefee4e34041c36 (patch) | |
tree | 15487153b8706f0da9ca2761dfa8b7813d2d2148 | |
parent | c38b9b80149f463b0c39a677e91b20925ec486d1 (diff) |
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)
-rw-r--r-- | sys/dev/hyperv/netvsc/ndis.h | 4 |
1 files 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) |