summaryrefslogtreecommitdiffstats
path: root/usr.bin/sendbug/sendbug.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2016-05-18 18:28:58 +0000
committerpatrick <patrick@openbsd.org>2016-05-18 18:28:58 +0000
commit2261702e3e2071d9ebf81d37fead1cc3f6b7f5be (patch)
treed521e1a1cf935ff78975b372d18845939f2a4018 /usr.bin/sendbug/sendbug.c
parentupdate links; from ray (diff)
downloadwireguard-openbsd-2261702e3e2071d9ebf81d37fead1cc3f6b7f5be.tar.xz
wireguard-openbsd-2261702e3e2071d9ebf81d37fead1cc3f6b7f5be.zip
Cache vendor, product and serial info for each usb device. This allows
ioctl(USB_DEVICEINFO) not to issue any further requests to gather information. Thus reducing stress on connected usb devices. This fixes an issue where usbdevs called in a loop causes a USB mass storage device to halt operation. Adapted from a similar commit in NetBSD. ok mpi@
Diffstat (limited to 'usr.bin/sendbug/sendbug.c')
0 files changed, 0 insertions, 0 deletions