From nobody Sat Oct 18 05:14:10 2025 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 4cpVGq2phYz6CQG5; Sat, 18 Oct 2025 05:14:11 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cpVGq0lYVz3V2b; Sat, 18 Oct 2025 05:14:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760764451; 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=ysvfx1ERSsIpesTBYZtME5x/Wqwcz0qv4kmdUVAi8Fg=; b=HNX/YoKUaugIuQo/4I8bB4xhON7IGMsxq/lT9Bzeii2DA7i80qRgyRKVU4pxBYrXKdPAr4 wZfxSTvMUhuPUJTUTIakpThcKTpR9alVWQ4tRm0xn3lpyeqRhXm/YvnRuBJPJkJ4TErlBC 94GKLTL4BakyEBFP9It/sF7TYDiI9fcTyAXOh/l0flpu4VUx6R/buLB5w5N1HnWKAkmb2a 5T/zBadnhPMhhmbLrxYGF4rrNill38mN0YDG8QZv2qAyE1OrUSmyuTf9Q6BqpN8UhTGqEL h5zWtnvP0nUWKQz9l7qdlkLWSsy1+KfqwaBJ70YrzUzziC+9WvpLX0xLs5f9bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760764451; 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=ysvfx1ERSsIpesTBYZtME5x/Wqwcz0qv4kmdUVAi8Fg=; b=xL3Zmf794flbwq/wuU9doA0AbwCUNdvDFpSCoKuZFn2sUG6byE2ImpJXcL7hEnGsC4CrFL 7BHoJC8gWAJ6bPEIkUtuMvuPG7LmlrgCo/iMuqElSvTMsPFB9xHxy6vwcB+1UqwMKiLPxt 6bUPlB8y1j2KB6X7vWWcKRbi7VgK82cbpIeUAfBRTvs7dTtobRToKh7rFRoFKC5DMx3L0g Vy/sGDjOVBA2toTHJdYhTx7wj/TpCoc9qmqqwyVdFckKf7gRpkdJBKbPhfLbk79aDk0O/f bdCSh8kTIY5rlfx8e4ACiE81673shTBfpSc/XnhiZaHGphXe3bjk9aRn06Psow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760764451; a=rsa-sha256; cv=none; b=mSL2NiB2HVxTyoS6AVZwvXmz1JfS5D7K39JKwm7Tyx8lXUK2StmzCCajSQcDRSGjc2anRG 5KPMfkgS7c6KsGfqTPZMzIi8VGpwAeZhtjMo+AAzCaHjBQHLGp3xf93SiVxhjsGhaG71md PtgpBWILvFlHjZtNMGLZS/SbyU4sne3ZBN9oCg5jXtGKbw6SpbY85D1krGNE8nbDOft32l ZJ6ms0VCDPsis/q4BfHz/cDDQ7JEcjkDynZdAIW5qVFg30+7CBdYh/Zd+YK671aychJa8b GqYRJdoUecol3mLcQxJDnUzPXb3La1W9WtAiJWmJW+ts2hfWo99HQc50/pMNvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cpVGq0M9gzBRH; Sat, 18 Oct 2025 05:14:11 +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 59I5EAYA062334; Sat, 18 Oct 2025 05:14:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59I5EACQ062331; Sat, 18 Oct 2025 05:14:10 GMT (envelope-from git) Date: Sat, 18 Oct 2025 05:14:10 GMT Message-Id: <202510180514.59I5EACQ062331@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: 47ed42f3f44c - main - kqueue_fo_release(): print filter with underflow 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: 47ed42f3f44ca21210c9d9c56c693248dbca29bb Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=47ed42f3f44ca21210c9d9c56c693248dbca29bb commit 47ed42f3f44ca21210c9d9c56c693248dbca29bb Author: Konstantin Belousov AuthorDate: 2025-08-21 13:54:36 +0000 Commit: Konstantin Belousov CommitDate: 2025-10-18 05:12:36 +0000 kqueue_fo_release(): print filter with underflow Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D52045 --- sys/kern/kern_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index a6333d8011b1..57b6b75cb848 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -1576,7 +1576,7 @@ kqueue_fo_release(int filt) mtx_lock(&filterops_lock); KASSERT(sysfilt_ops[~filt].for_refcnt > 0, - ("filter object refcount not valid on release")); + ("filter object %d refcount not valid on release", filt)); sysfilt_ops[~filt].for_refcnt--; mtx_unlock(&filterops_lock); }