From nobody Wed Aug 21 15:21:46 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wpqn71kTvz5V2r7; Wed, 21 Aug 2024 15:21:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wpqn66Y6yz4PL4; Wed, 21 Aug 2024 15:21:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724253706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pzhV1qMWdIc2fv/gzMa6mP/+iTPzaMAzEcKGDkH/F2I=; b=DMRBT9ZlNXs1TbfG6NCXJa/Oe6kG8K4X9ozsMxTzfTEP9If7y3/dUBPzgK6YrObbnUdDHh 5Sp/BuwvdCl9NM/EqYANAGeF/uCzJIa//OgIPCq9uCPGkqcYjomlangnaEo+RBVmKu2u4y IJYLf5t4hyJDdA+BAnxoIuwP4gL967wj46uGujkpU/LNa+G+i0TvQpQ21MoxBpl9akUp1W p4AJ81nk/HVO7j6NvEww5tZtBejqrte70I9mZ9tGJSBMpaEg6AvbCpNyKQZuYrqEP6bTT1 9glOfPHUHtQBB+n/qApv4lXdt7rWHXWv3CLy5Rhbk+veJww7JdLlwp7rAb5MXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724253706; a=rsa-sha256; cv=none; b=uh3VPcl79965tp+B8ATwUtLJMPhs5Ezy/EZ7pwaWz6cOHViFxvVEpudcsjgnq5kNZ+74sk SlMBAqQ1/5jdeG0tpKRLsfzfvjBBvh1PDUvX9L9onW7GnxlA151Vx7ksxkKNXIpf0IIFnr MwpVQvcqaRkVNOOc8lsIQ/U8l7fjGrUt31rhmFVepZsoVWpM0FnKYfSITTp1LD9o9CqgBB AO467hzQSVxEfJBqoGDRf5y5irWgp/oapnDMb3nLwOKsMHPMms3E2Kg3ktSYsI+Dn9/+kU s/rmAbpQ8/NGEmlQ5Sia42IZrrQnATX+qvHZvtKbxxVASGaaqSYgJ2Da4yuKgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724253706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pzhV1qMWdIc2fv/gzMa6mP/+iTPzaMAzEcKGDkH/F2I=; b=pB3UkTFbZTYeNSdh2cgmJ6uneuKOIX2wQWAOZCXpXRdaPcCaSl9HoK5fG/embMdzsW0sQF R6MLPA3DJJKCT27Bg0c9+1fknmy7QFAiS2oXiEm1uGxeTNQUc4AOolc8q5DY3+JFjlYbtI eVs3AOV9q22HYfX8bIqxfgi3cE/PZzayrn0ToitDxB1WAOTVKULuQpPr+DOogA8M+TLG7+ jy8y4FLfF9DtBT/EFzz5zrshr1e4Rpy3eiFVdGZgUiVB/93Yjaclypma4muCW/ww2YzCNg fz17CKPMPUKN8epWfsYlZzjPC3TNXBOXXhAWro/AiBQgbPNL+Bhv8KUi6GSyUw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wpqn65tYPzpcb; Wed, 21 Aug 2024 15:21:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47LFLkwE067434; Wed, 21 Aug 2024 15:21:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47LFLkqA067431; Wed, 21 Aug 2024 15:21:46 GMT (envelope-from git) Date: Wed, 21 Aug 2024 15:21:46 GMT Message-Id: <202408211521.47LFLkqA067431@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 40bffb7d2124 - main - rangelocks: fix typo in rl_w_validate List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 40bffb7d2124141b9f2970a4de93cf57f5fbd91b Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=40bffb7d2124141b9f2970a4de93cf57f5fbd91b commit 40bffb7d2124141b9f2970a4de93cf57f5fbd91b Author: Konstantin Belousov AuthorDate: 2024-08-20 22:07:10 +0000 Commit: Konstantin Belousov CommitDate: 2024-08-21 15:20:28 +0000 rangelocks: fix typo in rl_w_validate The freed elements should be threaded using rl_q_free pointer. Reported by: dougm, markj Tested by: markj Sponsored by: The FreeBSD Foundation --- sys/kern/kern_rangelock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_rangelock.c b/sys/kern/kern_rangelock.c index ef9d0104af72..e3bb413ab1bb 100644 --- a/sys/kern/kern_rangelock.c +++ b/sys/kern/kern_rangelock.c @@ -596,7 +596,7 @@ again: if (rl_e_is_marked(next)) { next = rl_e_unmark(next); if (rl_q_cas(prev, cur, next)) { - cur->rl_q_next = *free; + cur->rl_q_free = *free; *free = cur; cur = next; continue;