Subject: CVS commit: [kqueue] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 03/15/2002 21:13:18
Module Name: syssrc
Committed By: jdolecek
Date: Fri Mar 15 19:13:17 UTC 2002
Modified Files:
syssrc/sys/kern [kqueue]: kern_descrip.c
Log Message:
fdfree(): fix the argument to knote_fdfree() - 'i' is not the the descriptor
value, it's index counting from fdp->fd_lastfile down; this fixes
deadlock in closef() when watched descriptor is lower than the
kqueue one and the process has open further descriptors
finishdup(): add comment a knote_fdfree() call is needed there; will address
this later
To generate a diff of this commit:
cvs rdiff -r1.79.2.4 -r1.79.2.5 syssrc/sys/kern/kern_descrip.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.