diff options
author | 2013-06-03 16:10:56 +0000 | |
---|---|---|
committer | 2013-06-03 16:10:56 +0000 | |
commit | 8757978d992e140e919625299f6effefe847ea53 (patch) | |
tree | c2ac73de585bfaed5d8fd2fa89757bccb3399e00 /sys/kern/kern_time.c | |
parent | userland fuse support, but not attaching libfuse yet. ok beck deraadt (diff) | |
download | wireguard-openbsd-8757978d992e140e919625299f6effefe847ea53.tar.xz wireguard-openbsd-8757978d992e140e919625299f6effefe847ea53.zip |
Correctly increment the refcounter when trying to open a non connected
serial. Fix a panic triggered by removing the USB device while the
opener is sleeping holding a reference to the softc. Found the hardway
by tobiasu@.
While here add more sanity checks to avoid races when the driver is
being detached.
ok tobiasu@
Diffstat (limited to 'sys/kern/kern_time.c')
0 files changed, 0 insertions, 0 deletions