diff options
author | imp <imp@FreeBSD.org> | 2004-09-08 07:13:39 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-09-08 07:13:39 +0000 |
commit | 772c5279be6bb55eca2f8e98e29a8f725c93c01d (patch) | |
tree | 2e40698989b5286855dc397e72aabc95258aa972 /sbin/ggate | |
parent | 5448c0081f6becd3cd346fd62d2e6738435069cc (diff) | |
download | FreeBSD-src-772c5279be6bb55eca2f8e98e29a8f725c93c01d.zip FreeBSD-src-772c5279be6bb55eca2f8e98e29a8f725c93c01d.tar.gz |
Back out 1.88.
The reference counts are there to block detach until the sleepers in
read/write/ioctl have gotten out, not to prevent the open device from
going away. Restore the old behavior so that we have a chance to wake
up sleepers when the usb device goes away, so they can properly return
EIO back to the caller when this happens.
Otherwise, we have a guarnateed panic waiting to happen when a device
detaches with an active read channel.
This should be merged to 5 asap.
Diffstat (limited to 'sbin/ggate')
0 files changed, 0 insertions, 0 deletions