HomeFreeBSD

Improve handling of alternate settings in the USB stack.

Description

Improve handling of alternate settings in the USB stack.

Limit the number of alternate settings to 256.
Else the alternate index variable may wrap around.

PR: 251856
MFC after: 1 week
Submitted by: Ma, Horse <Shichun.Ma@dell.com>
Sponsored by: Mellanox Technologies // NVIDIA Networking

Details

Provenance
hselaskyAuthored on Dec 15 2020, 11:51 AM
Parents
rG1d0272a600c7: When receiving a file having a length, which is a mulitple of the blocksize,
Branches
Unknown
Tags
Unknown

Event Timeline