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)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to