CVSROOT: /cvs Module name: src Changes by: [email protected] 2013/06/03 10:10:56
Modified files:
sys/dev/usb : ucom.c
Log message:
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@
