Date: Fri, 28 Feb 2003 06:16:36 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 26071 for review Message-ID: <200302281416.h1SEGa2R040317@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=26071 Change 26071 by jhb@jhb_laptop on 2003/02/28 06:15:43 Always skip over dead eventhandler entries during an insertion to make sure the priority compares work out right. Affected files ... .. //depot/projects/smpng/sys/kern/subr_eventhandler.c#16 edit Differences ... ==== //depot/projects/smpng/sys/kern/subr_eventhandler.c#16 (text+ko) ==== @@ -129,7 +129,8 @@ func, name); EHL_LOCK(list); TAILQ_FOREACH(ep, &list->el_entries, ee_link) { - if (eg->ee.ee_priority < ep->ee_priority) { + if (ep->ee_priority != EHE_DEAD_PRIORITY && + eg->ee.ee_priority < ep->ee_priority) { TAILQ_INSERT_BEFORE(ep, &eg->ee, ee_link); break; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302281416.h1SEGa2R040317>