On Mon, Jul 21, 2025 at 09:22:40AM +0100, Lecomte, Arnaud wrote:
Hi Alan, thanks for your reply.Protect it from what? Access by some driver at an inappropriate time?
Your point raises an important question for me: Is there a specific reason
why we don’t have
a synchronization mechanism in place to protect the URB's transfer buffer ?
Drivers are supposed to know (and this is alluded to in the kerneldoc
for usb_submit_urb()) that they aren't allowed to touch the transfer
buffer while an URB is queued.
Alan Stern