HomeFreeBSD

libusb(3): Ignore SIGPIPE when initializing the LibUSB v1.0 API.

Description

libusb(3): Ignore SIGPIPE when initializing the LibUSB v1.0 API.

The LibUSB v1.0 emulation layer uses pipes internally to signal between
threads. When USB devices are reset, as part of loading firmware, SIGPIPE
may happen, and that is expected and should be ignored.

PR: 261891
Sponsored by: NVIDIA Networking

(cherry picked from commit d94d94e2c06b4331f706a3b4eca058041294ea05)

Details

Provenance
hselaskyAuthored on Mar 2 2022, 11:31 AM
Parents
rG61b0043efb8c: linuxkpi: Add mmap_lock.h
Branches
Unknown
Tags
Unknown