From nobody Mon Mar 13 18:55:11 2023 X-Original-To: dev-commits-src-main@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 4Pb5Sk4bMvz3y4QX; Mon, 13 Mar 2023 18:55:18 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from glebi.us (glebi.us [162.251.186.162]) by mx1.freebsd.org (Postfix) with ESMTP id 4Pb5Sk2f0Tz4YJJ; Mon, 13 Mar 2023 18:55:18 +0000 (UTC) (envelope-from glebius@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: by glebi.us (Postfix, from userid 1000) id A009054196; Mon, 13 Mar 2023 11:55:11 -0700 (PDT) Date: Mon, 13 Mar 2023 11:55:11 -0700 From: Gleb Smirnoff To: Pawel Biernacki Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 35b6e52c30a2 - main - net.inet6.ip6.log_interval: use ppsratecheck(9) internally Message-ID: References: <202303131649.32DGnOrT023774@gitrepo.freebsd.org> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202303131649.32DGnOrT023774@gitrepo.freebsd.org> X-Rspamd-Queue-Id: 4Pb5Sk2f0Tz4YJJ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:27348, ipnet:162.251.186.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Mon, Mar 13, 2023 at 04:49:24PM +0000, Pawel Biernacki wrote: P> The branch main has been updated by kaktus: P> P> URL: https://cgit.FreeBSD.org/src/commit/?id=35b6e52c30a290e081710b87ff0be21f4941d3f4 P> P> commit 35b6e52c30a290e081710b87ff0be21f4941d3f4 P> Author: Pawel Biernacki P> AuthorDate: 2023-03-13 16:39:20 +0000 P> Commit: Pawel Biernacki P> CommitDate: 2023-03-13 16:47:06 +0000 P> P> net.inet6.ip6.log_interval: use ppsratecheck(9) internally P> P> Reported by: mjg P> Differential Revision: https://reviews.freebsd.org/D38758 I'd suggest to use counter_ratecheck() as we do with IPv4 ICMP. I can provide you a patch if you are willing to test it. -- Gleb Smirnoff