From owner-svn-src-all@freebsd.org Tue Feb 28 23:24:10 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C0BFCF204C; Tue, 28 Feb 2017 23:24:10 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 090219AA; Tue, 28 Feb 2017 23:24:09 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1SNO9uo098421; Tue, 28 Feb 2017 23:24:09 GMT (envelope-from cognet@FreeBSD.org) Received: (from cognet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1SNO90x098420; Tue, 28 Feb 2017 23:24:09 GMT (envelope-from cognet@FreeBSD.org) Message-Id: <201702282324.v1SNO90x098420@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cognet set sender to cognet@FreeBSD.org using -f From: Olivier Houchard Date: Tue, 28 Feb 2017 23:24:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r314432 - vendor-sys/ck/dist/src X-SVN-Group: vendor-sys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2017 23:24:10 -0000 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) {