From nobody Mon Aug 24 00:58:43 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 4hSswz6d2xz6q2hd for ; Mon, 24 Aug 2026 00:58:43 +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 4hSswz4Trnz464v for ; Mon, 24 Aug 2026 00:58:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787533123; 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=rVAE1c5UQ7kM+tGiEK7raCtq4ghfrz5C7Q/qbeLUEnM=; b=wN4D5EwvZXhUdkvKkWXzOVSuLl0D7+uZbz3+kkIR1VTZuXsXrqlYd8uvn9zNriv9UKRECk SZfSAfwI0BLKDATI2+PrOVgPS0fQcoL3GPqV4d8pljUemz7nNsr+VxZOsBJuwie30o6cK7 W80GjPOqtZaV2H6ShBO7N3DguHGkbPzt0mcoBY2+GGGYBBgGU40gatSQIhfSyBo/cc/zK9 JGsE9Ezn0cGLtt5qAr1Ha6DaCHcVo+rqgyT6vEH1Ztct+RawJMUud2MCQ92kIPICyeGmy6 WiWWwzXiObpQ+5UX9eeKoEeTtVtCzDnA4wKbfHzleOYLXWDI4NXRR1VpZXUtIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787533123; a=rsa-sha256; cv=none; b=D5ZCNSYcxmQMRZVvfRqa0JpNHARMjgVv6V8DijVweVyYqLgM1Py9gBm2RGynNpi+Hj3KGb XZNorwroEbtusfajSa8nj3lNMpjCQeoiVknJCe6dPxDViqtpDm1ipqxMZy36yulGoS84aj 9o8KHmcBvW0ksbhz4AvSWn+yH2JMl+y2UcnISAZwD5UDZyoGy6mKbcoDw5eMF0WwTo+lMH S2jvk3Db221hjS4Fnq9O5Dr57qUpEaNk0U+jQiX+iUUGW3TbI2XTHWDHe4QuIlYEgZtv/O xEfSBDTcNSPrC7A1pnBCUtzIvmW8gXw2XE824yctz/IMkPbkEjot+gwyINvW6w== 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=1787533123; 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=rVAE1c5UQ7kM+tGiEK7raCtq4ghfrz5C7Q/qbeLUEnM=; b=DVXlppRAA8nL2zw30/9+bbxMEIgHAnak8QRw0jTxYnkIP3IUfCq4CwSOHaz5W9kZFm6i6Z cp62wKZ0gHCcneuiNVS9w2v24Rel52u8dj6wRuDecMxytlhdYHGefJu5SFd9OhRRIEYh8t rHkm6mg/r1PiuadtshOQrbX7x3nlVzuc70iVJnD+FZ11p7ZBXFITHZWzgjLiKIGcNQSv0K Ij2w9GrBDgw8glh/Coggoa+BlQjDzeifwF5Gdx6zjtvtQgohJF56DoOgO61HJx2wk12ZDI Mb/rluXyaZ1EStiZzFG2XhZv7rqnIh+Dy3VhKO0xnMTvHWT7CX2cNKEKJFRKfA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hSswz33sMzjNg for ; Mon, 24 Aug 2026 00:58:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 321eb by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 24 Aug 2026 00:58:43 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 7afc16edf128 - stable/14 - ixl: Initialize VF sysctl contexts before use 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: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 7afc16edf128f24d84a6d14e677320f9b43a6beb Auto-Submitted: auto-generated Date: Mon, 24 Aug 2026 00:58:43 +0000 Message-Id: <6a8b9743.321eb.288f1094@gitrepo.freebsd.org> The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=7afc16edf128f24d84a6d14e677320f9b43a6beb commit 7afc16edf128f24d84a6d14e677320f9b43a6beb Author: Kevin Bowling AuthorDate: 2026-08-10 04:53:08 +0000 Commit: Kevin Bowling CommitDate: 2026-08-24 00:56:46 +0000 ixl: Initialize VF sysctl contexts before use The VF array is zeroed at allocation, but its sysctl contexts were only populated after each VF was successfully added. If VF setup failed, IOV teardown still passed every requested VF context to sysctl_ctx_free(). An untouched context is not an initialized empty TAILQ and caused a page fault during teardown. Initialize every VF context with the array so both successful setup and partial-failure cleanup have a valid lifetime. (cherry picked from commit ae122c5443882ae4d3d19aacfcfd16a2c8d7b688) --- sys/dev/ixl/ixl_pf_iov.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/ixl/ixl_pf_iov.c b/sys/dev/ixl/ixl_pf_iov.c index 1e475e4767cc..2ace3e93980a 100644 --- a/sys/dev/ixl/ixl_pf_iov.c +++ b/sys/dev/ixl/ixl_pf_iov.c @@ -1652,7 +1652,7 @@ ixl_if_iov_init(if_ctx_t ctx, uint16_t num_vfs, const nvlist_t *params) struct i40e_hw *hw; struct ixl_vsi *pf_vsi; enum i40e_status_code ret; - int error; + int error, i; hw = &pf->hw; pf_vsi = &pf->vsi; @@ -1663,6 +1663,8 @@ ixl_if_iov_init(if_ctx_t ctx, uint16_t num_vfs, const nvlist_t *params) error = ENOMEM; goto fail; } + for (i = 0; i < num_vfs; i++) + sysctl_ctx_init(&pf->vfs[i].vsi.sysctl_ctx); /* * Add the VEB and ...