opnsense-src/sys/dev/hyperv
Andriy Gapon 4a7dcb174c storvsc: fix auto-sense reporting
I saw a situation where the driver set CAM_AUTOSNS_VALID on a failed ccb
even though SRB_STATUS_AUTOSENSE_VALID was not set in the status.
The actual sense data remained all zeros.
The problem seems to be that create_storvsc_request() always sets
hv_storvsc_request::sense_info_len, so checking for sense_info_len != 0
is not enough to determine if any auto-sense data is actually available.

Sponsored by:	CyberSecure

(cherry picked from commit 8afecefd57)
2021-05-21 13:32:13 +03:00
..
hvsock Add missing sockaddr length and family validation to various protocols 2021-05-17 13:43:07 -04:00
include HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
input Revert r355806: kbd drivers: don't double register keyboard drivers 2019-12-26 17:09:36 +00:00
netvsc Hyper-V: hn: Initialize the internal field of per packet info on tx path 2021-03-29 03:21:30 -07:00
pcib Hyper-V: pcib: Check revoke status during device attach 2020-10-15 05:57:20 +00:00
storvsc storvsc: fix auto-sense reporting 2021-05-21 13:32:13 +03:00
utilities sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
vmbus hyperv/vmbus: avoid crash, panic if vbe fb info is missing 2020-12-10 13:11:52 +00:00