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
MFC after: 1 week
Sponsored by: NVIDIA Networking

Details

Provenance
hselaskyAuthored on Mar 2 2022, 11:31 AM
Parents
rG369216b03983: ath: fix older clang build.
Branches
Unknown
Tags
Unknown