]> xenbits.xensource.com Git - people/royger/freebsd.git/commit
libusb(3): Ignore SIGPIPE when initializing the LibUSB v1.0 API.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 2 Mar 2022 11:31:27 +0000 (12:31 +0100)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 2 Mar 2022 11:33:40 +0000 (12:33 +0100)
commitd94d94e2c06b4331f706a3b4eca058041294ea05
treef8a4839a0b7d979016b9dcef9b79a9bcf9941088
parent369216b039833d30b92cee44d448821ebd4077ce
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
lib/libusb/libusb10.c
lib/libusb/libusb_global_linux.h