svn commit: r314432 - vendor-sys/ck/dist/src

Olivier Houchard cognet at FreeBSD.org
Tue Feb 28 23:24:10 UTC 2017


Author: cognet
Date: Tue Feb 28 23:24:08 2017
New Revision: 314432
URL: https://svnweb.freebsd.org/changeset/base/314432

Log:
  Import CK as of commit 24d26965d1a28039062ba3bcf9433b623f3d2c5e, to get
  a fix in ck_epoch

Modified:
  vendor-sys/ck/dist/src/ck_epoch.c

Modified: vendor-sys/ck/dist/src/ck_epoch.c
==============================================================================
--- vendor-sys/ck/dist/src/ck_epoch.c	Tue Feb 28 23:03:51 2017	(r314431)
+++ vendor-sys/ck/dist/src/ck_epoch.c	Tue Feb 28 23:24:08 2017	(r314432)
@@ -309,11 +309,12 @@ ck_epoch_scan(struct ck_epoch *global,
 {
 	ck_stack_entry_t *cursor;
 
-	*af = false;
 	if (cr == NULL) {
 		cursor = CK_STACK_FIRST(&global->records);
+		*af = false;
 	} else {
 		cursor = &cr->record_next;
+		*af = true;
 	}
 
 	while (cursor != NULL) {


More information about the svn-src-all mailing list