HomeFreeBSD

Add safety check against too long CDB.

Description

Add safety check against too long CDB.

SBP-2 specification defined maximum CDB length as 12 bytes. Newer SBP-3
specification allows CDB of any size, but this driver is too old. Proper
solution would be to look on maximal ORB size supported by the target.

MFC after: 1 week

Details

Provenance
mavAuthored on
Parents
rS314373: Remove SVR4 (System V Release 4) binary compatibility support.
Branches
Unknown
Tags
Unknown