Skip to content

scst_lib: Fix VPD inquiry handling on incorrect LUNs #35

scst_lib: Fix VPD inquiry handling on incorrect LUNs

scst_lib: Fix VPD inquiry handling on incorrect LUNs #35

scst_lib: Fix VPD inquiry handling on incorrect LUNs When SCST receives an INQUIRY request for an incorrect LUN, it calls scst_set_lun_not_supported_inquiry(), which returns an inquiry buffer with a peripheral qualifier of 011b and a peripheral device type of 1Fh. However, for a VPD inquiry, it is unable to populate the remaining fields. According to SPC-6, if the device server cannot return the requested data, it should terminate with CHECK CONDITION. Reported-by: Lev Vainblat <[email protected]>

succeeded Aug 19, 2024 in 4s