When detaching UMASS, abort all the pipes before detaching the sim. Note
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 15 Mar 2004 05:45:19 +0000 (05:45 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 15 Mar 2004 05:45:19 +0000 (05:45 +0000)
commit21e4fb692d9b6c19f81e6976630066344d23b7a3
treea63e847b6621da552e7fed5fead529635eef04ed
parent0a9d9dcf3cbd1810990fdc15f0ef5c18137ef693
When detaching UMASS, abort all the pipes before detaching the sim.  Note
sim detachment path is:  umass_cam_detach_sim -> xpt_bus_deregister ->
cam_sim_free.  If there is anything pending as of the cam_sim_free() bad
things will happen.
sys/dev/usbmisc/umass/umass.c