HomeFreeBSD

uhid(4): Don't read-ahead from the USB IN endpoint.

Description

uhid(4): Don't read-ahead from the USB IN endpoint.

This avoids an issue where IN endpoint data received from the device right
before the file handle is closed, gets lost.

PR: 263995
Sponsored by: NVIDIA Networking

(cherry picked from commit b6f615255d8bcdf40604005b11998eee86872364)

Details

Provenance
hselaskyAuthored on Jun 23 2022, 5:39 PM
Parents
rGfb07770acdf1: amd64: Stop using REP MOVSB for backward memmove()s.
Branches
Unknown
Tags
Unknown