diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-11-10 17:45:30 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-11-10 17:45:30 +0000 |
commit | 21cdcedbff2983ab0d9ec05901ff1096abf60189 (patch) | |
tree | 87c50beb3b3fe527f05916cb18584c9ab9f5ff09 /sys/dev/pv/hyperv.c | |
parent | 8b15cad83e0fa1e4e5b2af52dee2366ad624f9ea (diff) |
Set the reserved field to zero
Diffstat (limited to 'sys/dev/pv/hyperv.c')
-rw-r--r-- | sys/dev/pv/hyperv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c index 70b4c503297..7c6729e89aa 100644 --- a/sys/dev/pv/hyperv.c +++ b/sys/dev/pv/hyperv.c @@ -1347,6 +1347,7 @@ hv_channel_send_sgl(struct hv_channel *ch, struct vmbus_gpa *sgl, VMBUS_CHANPKT_SETLEN(cp.cp_hdr.cph_tlen, pktlen_aligned); cp.cp_hdr.cph_tid = rid; cp.cp_gpa_cnt = nsge; + cp.cp_rsvd = 0; iov[0].iov_base = &cp; iov[0].iov_len = sizeof(cp); |