HomeFreeBSD

Hyper-V: hn: Initialize the internal field of per packet info on tx path

Description

Hyper-V: hn: Initialize the internal field of per packet info on tx path

The RSC support feature introduced a bit field "rm_internal" in
struct rndis_pktinfo with total size unchanged.

The guest does not use this field in the tx path. However we need to
initialize it to zero in case older hosts which are not aware of this
field.

Fixes: a491581f ("Hyper-V: hn: Enable vSwitch RSC support")
MFC after: 2 weeks
Sponsored by: Microsoft

Details

Provenance
whuAuthored on Mar 15 2021, 10:20 AM
Parents
rG16b2290447de: wlandebug.8: remove Xref for missing manpages
Branches
Unknown
Tags
Unknown