]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
uhid(4): Don't read-ahead from the USB IN endpoint.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Thu, 23 Jun 2022 17:39:21 +0000 (19:39 +0200)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Thu, 30 Jun 2022 09:39:43 +0000 (11:39 +0200)
commit20d32249196ea6122b481bd61841337a67855337
tree836325b11176d8154c37215dbceaedae00a037fe
parent15183f36e5a0b2ab1febdb7e88d20c0a3d3ab86e
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)
sys/dev/usb/input/uhid.c