Date: Sun, 20 Apr 2008 15:02:06 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 140296 for review Message-ID: <200804201502.m3KF26nQ040547@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=140296 Change 140296 by hselasky@hselasky_laptop001 on 2008/04/20 15:01:31 Need to lock "sc->sc_mtx" before calling "usbd_transfer_start()". Affected files ... .. //depot/projects/usb/src/sys/dev/usb/ulpt.c#43 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/ulpt.c#43 (text+ko) ==== @@ -636,7 +636,9 @@ } /* start reading of status */ + mtx_lock(&(sc->sc_mtx)); usbd_transfer_start(sc->sc_xfer[2]); + mtx_unlock(&(sc->sc_mtx)); return (0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804201502.m3KF26nQ040547>