NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/48151 CVS commit: src/sys/dev/usb



The following reply was made to PR kern/48151; it has been noted by GNATS.

From: "Nick Hudson" <skrll%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/48151 CVS commit: src/sys/dev/usb
Date: Fri, 30 Aug 2013 12:59:19 +0000

 Module Name:   src
 Committed By:  skrll
 Date:          Fri Aug 30 12:59:19 UTC 2013
 
 Modified Files:
        src/sys/dev/usb: usbdi_util.c utoppy.c
 
 Log Message:
 Remove race introduced by using usbd_sync_transfer_sig with a callback
 that use the xfer cv (or does wake up on the xfer). The xfer has likely
 been freed or re-used.
 
 While here update utoppy(4) to use usbd_sync_transfer_sig.
 
 Fixes PR/48151
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.60 -r1.61 src/sys/dev/usb/usbdi_util.c
 cvs rdiff -u -r1.21 -r1.22 src/sys/dev/usb/utoppy.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index