NetBSD-Bugs archive

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

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



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

From: "matthew green" <mrg%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/54495 CVS commit: src/sys/dev/usb
Date: Thu, 29 Aug 2019 09:17:51 +0000

 Module Name:	src
 Committed By:	mrg
 Date:		Thu Aug 29 09:17:51 UTC 2019
 
 Modified Files:
 	src/sys/dev/usb: usbnet.c
 
 Log Message:
 fix a lock hang reported by sc.dying in PR#54495.
 
 remove locking in usbnet_tick().  assume that all locking
 needs are handled inside usbnet_tick_task(), which runs in
 the usbtask thread.  ensure that usbnet private is valid
 before using it.
 
 also check NULL private pointer in usbnet_isdying().
 all the other cases should never happen.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.24 -r1.25 src/sys/dev/usb/usbnet.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