From nobody Mon Jun 24 09:59:35 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 4W73N75NL7z5Nnfy; Mon, 24 Jun 2024 09:59:35 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W73N74lylz4scw; Mon, 24 Jun 2024 09:59:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719223175; 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=+6a+rRkzPL1r6f+LVw+plCDtqmID3841Z4+IJdBY6Ik=; b=qMYPFLlWUrs0tYoMtyYf5AUDTJuCQs0sNYZqGNL8E/LB917qRmzeT+4AoV+31EY5G+JZeB 7WU31tx44pF2exRlt/L0HrTSlsS6on1B2T0gg1XD43aFIn4kmALhewCZoypnaGhjlhxIsg IswrPFeiK2/0Pf5nO8SWXTxkjVg/7zq13hZjtaG2W/+migHrs0sZtdqAvaz+MHSymZoYYd jU/UaaqBahin+g0ZAKQLeEt6ECJ4WkduA4W7yXqyJk2psQxNn4VlpJCDiEU+773HJx2ApL EaiZnwsdkH6HIHaOYAShtqopvxmfaVhgIK3BEPtEmACymSbOB4gB0GUA69q11w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719223175; a=rsa-sha256; cv=none; b=ksPyjJ0BHiUOcOHqstgPq0/2miL8AfPWh6QRIHs+GpJdf8L7Y0p3DrB7M2oxCnJIkak6mn BR2vkkPU7zdKdUcz+yyGaBU6OZk0FvFqmUDDgH+SxW/WcWYJvV7UWqErHwjgW9O8+vAb3i wPB8WWCnxxDtNLlziNhnszwJ4n0FenzXwNhc+3QFLWyoXZaA/GQOvPW7KkPAK5ZEnzNB1y X27gbkZJJDd1HqfJhO/2jwNAHrauwqf6XOpWXWfPS7gKEOPmkznB+1CPNzOy5xyXeXi0iy juXk1MIWIBE4FoWKx2nma+CDEx8eQpeTZOWlOgitd+qtXTPnuwS9PlHBgzIOXg== 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=1719223175; 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=+6a+rRkzPL1r6f+LVw+plCDtqmID3841Z4+IJdBY6Ik=; b=q4MVtldLVMWTRvc3ln9aAWiBL9VEkhAcPqZDiVjtaeo1hMgGiOlibW6PMdmiXKOKq+wMTA PoXLzGY7JLNHyx6vqDQy+AczqOI0n9bJDT3zxmpp3LO85/8K6V/7+COPRjt1l4qPPNYZar aUTJ//7BhjoadyhRlwccvLE3EtjB5YQX8/tKLIo8mEm+0O2s0MZoWX/PfQwpKDEorzX6zY r0IBiBfQg8ZNvLKZB3I43Eo4c/6ZgOcpBcKlee5R4t5E3Hejet0mCPkugVIn16PZp8Bwvg IAmnhZ3dsUf3eM1/3eNTiQFUOWvICV7XhTuTdFecgQXRTH28w2lAaBKAgLxS9g== 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 4W73N74LwqzDq9; Mon, 24 Jun 2024 09:59:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45O9xZlx097750; Mon, 24 Jun 2024 09:59:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45O9xZi7097747; Mon, 24 Jun 2024 09:59:35 GMT (envelope-from git) Date: Mon, 24 Jun 2024 09:59:35 GMT Message-Id: <202406240959.45O9xZi7097747@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 08a98731ddf4 - main - ip_mroute: Use NET_EPOCH_WAIT() macro 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: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 08a98731ddf4459bcee25074bdbc21d6fa5ce4ca Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=08a98731ddf4459bcee25074bdbc21d6fa5ce4ca commit 08a98731ddf4459bcee25074bdbc21d6fa5ce4ca Author: Zhenlei Huang AuthorDate: 2024-06-24 09:57:14 +0000 Commit: Zhenlei Huang CommitDate: 2024-06-24 09:57:14 +0000 ip_mroute: Use NET_EPOCH_WAIT() macro This makes it easier to grep the usage. Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45715 --- sys/netinet/ip_mroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index b864a4db5abc..afa199ce0691 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -768,7 +768,7 @@ X_ip_mrouter_done(void) * Wait for all epoch sections to complete to ensure * V_ip_mrouter = NULL is visible to others. */ - epoch_wait_preempt(net_epoch_preempt); + NET_EPOCH_WAIT(); /* Stop and drain task queue */ taskqueue_block(V_task_queue);