From nobody Sun Aug 16 20:25:19 2026 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 4hNSBl3lwBz6pYsh for ; Sun, 16 Aug 2026 20:25:19 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hNSBl1Vgjz3wpM for ; Sun, 16 Aug 2026 20:25:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786911919; 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=jyCZs47FkMu026KZnYG7HsKZ+lwm5Lfye1wQHlkzjHI=; b=efpv7/GKRbo154pTXIfZlvm+1LsBXWkn96TnMk3iPWfR2mnh+VmHTn9OExGy7fzLnJ1OKl 3N5Y51IKlvcQ6WRe/ubD9wxlWLiVETG75Q2G5XvwcQ2mO0ZG2ky3csZuRBcjkwt8tdtQrY D4Ql3zpoN15jg0GvfcGzktSoMxdS2bQ3Rv9fLfwC9htKUBj3bNIvqZVmkyaGIaRsy9DGsQ 0B69R9xy90PTJn+OQII1X9GD0kEVGIOny1yr6kEsXXIQKMnB4OuicUVJEIj3BvbdPTE50c mZgRDJKlN5iBskEj8GHr+60CSILcmsTsupB8l8YCjykQMYBXvAfNveC28IlK0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786911919; a=rsa-sha256; cv=none; b=mgMqEJWXP6pwWA9nz9X32h7cHTFjD0ZdSQ72NoUKcTFV2g69AsQ+brKczmS/+tBsXaD4IN GrTGhIvTOekXXyMji/yBaiLz+h2xmHXTH6h8Z9htpBH4IAembRq/BgohUucwLqxRhIEMfn z8rr/I584k4BQ77vnz1t6hoUm5kV/vSdvPSID25B0Sfm+4OZOitMOdovziLCDx8Y6TSVpL 0fCGHYd1r+HSkLskyp8xmIo/RigHJ9QmXhU/PIq5OuHrcjE00j0AYPgdS5aGvNncnidkmR 20/v5XQ7ccBxTfv6WtjKcmBv9VnhwIDrzqwN4jFkxqX675CPy5Qp8Cq5vbf0Lg== 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=1786911919; 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=jyCZs47FkMu026KZnYG7HsKZ+lwm5Lfye1wQHlkzjHI=; b=ZtB1IedNFLF7jC/BfdZjXVYkRo6CHSUmgPLg90m624oKdJHTZfaqi/1HwFXYQV9KaVdOn1 wyq7Nq6R+scHlTsdy7SRaqNPXsfQC5TPA2urIyXsexcPPJw/jXwgi1f3Zi/tRNgtB5c2kE LJS53uylqlgEWsgXBp2Ro84Ii0n0oWAgb5mAFTXoJQ6otAlXzUIhXNKp/KgikbYbq4V+UQ sOSdspFcFptFpSxWUDw9N117z0RZu2MjOqrzbvMMRSuGqZD5yaM7qokY8EibqRN3pBz2n1 qV3Oqo82e9fWmuRKeRoxv31zJNd+wr9oWI8/6G+BV9mhLGHKRIsSyFv85JqD2Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hNSBl0K3hzkGt for ; Sun, 16 Aug 2026 20:25:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 4639a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 16 Aug 2026 20:25:19 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav Subject: git: bd68debe8124 - stable/15 - libifconfig: Fix table size 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: bd68debe812400263684e9e9aa85d8bd50956e56 Auto-Submitted: auto-generated Date: Sun, 16 Aug 2026 20:25:19 +0000 Message-Id: <6a821caf.4639a.158411bb@gitrepo.freebsd.org> The branch stable/15 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=bd68debe812400263684e9e9aa85d8bd50956e56 commit bd68debe812400263684e9e9aa85d8bd50956e56 Author: Dag-Erling Smørgrav AuthorDate: 2026-08-13 21:45:58 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2026-08-16 20:24:58 +0000 libifconfig: Fix table size Tables that have one element per protocol or address family were previously sized by AF_MAX + 1 since AF_MAX was off by one. Now that AF_MAX has been corrected, we need to apply the opposite correction to these tables. Fixes: ddd850aa7720 ("sys/socket.h: Fix AF_MAX") MFC after: 3 days Sponsored by: Klara, Inc. Sponsored by: NetApp, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D58827 (cherry picked from commit 79a6ad63e6afdfa00d0e625996bddf91e9f217c3) --- lib/libifconfig/libifconfig_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libifconfig/libifconfig_internal.h b/lib/libifconfig/libifconfig_internal.h index 910e90df7d31..64b474db675b 100644 --- a/lib/libifconfig/libifconfig_internal.h +++ b/lib/libifconfig/libifconfig_internal.h @@ -49,7 +49,7 @@ struct errstate { struct ifconfig_handle { struct errstate error; - int sockets[AF_MAX + 1]; + int sockets[AF_MAX]; /** Cached output of getifaddrs */ struct ifaddrs *ifap; };