NetBSD-Bugs archive

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

PR/55207 CVS commit: src/sys/kern



The following reply was made to PR port-xen/55207; it has been noted by GNATS.

From: "Jaromir Dolecek" <jdolecek%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/55207 CVS commit: src/sys/kern
Date: Tue, 12 May 2020 10:02:56 +0000

 Module Name:	src
 Committed By:	jdolecek
 Date:		Tue May 12 10:02:56 UTC 2020
 
 Modified Files:
 	src/sys/kern: kern_pmf.c
 
 Log Message:
 need to take IFNET_LOCK() around if_stop (on suspend) and if_init (on resume)
 calls, those need to read and/or manipulate if_flags and hence need
 the lock for IFEF_MPSAFE drivers; the drivers can't do IFNET_LOCK() themselves,
 because the ioctl path call these hooks with the lock held
 
 fixes KASSERT() in xennet(4) while investigating PR port-xen/55207
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.42 -r1.43 src/sys/kern/kern_pmf.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