From nobody Thu Jul 20 22:48:30 2023 X-Original-To: bugs@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 4R6SXH0kPNz4nM5K for ; Thu, 20 Jul 2023 22:48:31 +0000 (UTC) (envelope-from bugzilla-noreply@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 4R6SXG6dKKz4Jgj for ; Thu, 20 Jul 2023 22:48:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689893310; 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: in-reply-to:in-reply-to:references:references; bh=ZzZvIX0xCEU7h0K9KUfOhYOmLd64fn7AHiuDufLFvIA=; b=vPNQXJAZWVpUrrOPX/DdLe4E6611FsaCw0eO8l3/roO6Yfpm4S90AIQw25L3lBlLCqW7bQ 59dPbDvrruio6w9T712DPCiVpJSHFVz8tjsJjruEcs3GOGM0YFOmyF+I6d2qB7GlZqLetB 9l4zv/FfqJ8Vt/UqvfMKwWjYjcB5DEvGBQnFUiMnYpKt4okMJwIOUHnygfrw2LRDpksekr ukfCaI3y3/Y7uQjRPEk6RznjuvS7r8rC2wQYM8aVfS/aq03kn2wtFfzux9pEVyPizwCx4W 0T4ndZ14T7kFLuKx7NJDf5ly+LABhPCpK7YKGfbjcULoPog5F9rdwgmuqEb8AA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689893310; a=rsa-sha256; cv=none; b=c8Kbw0COpWvazwlivAl+CuLhNIcuc4CaTGitwIbBxfyx9tDteHJFEdpqG32orugd0lf198 IhLjTtKPPbPZdqjK+Wd3gEgcoGQIce0rad2kvXT0bHBzqqPvUCTTVapCk7S45yvs/bOMIM Vb65Hj8qcfr6CmouYKlL3EV80V0bBYqlxUif3qImAlgeo47S+1PT5kfc7fM0Sfp+Ggk1Vd o3W0N1mjv5inVq+Akj3IxWeJUAxYJt/ZMG30lsK9C/9n7h5hoEbkfWo30NSr0xlsyq89Nb vGE44Yb2/vx0G80/WEpzpM/nRLThpcHdNSAmFrnHUXBWziQe9vZMTmBYQouUmw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4R6SXG5cZpzplQ for ; Thu, 20 Jul 2023 22:48:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 36KMmUuC033053 for ; Thu, 20 Jul 2023 22:48:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36KMmUsU033052 for bugs@FreeBSD.org; Thu, 20 Jul 2023 22:48:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271768] panic: _sx_xlock_hard: recursed on non-recursive sx iflib ctx lock @ /usr/src/sys/net/iflib.c:2582 Date: Thu, 20 Jul 2023 22:48:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, iflib X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271768 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D93f39b4675865094b298e1fca5bcfa788= 348dd36 commit 93f39b4675865094b298e1fca5bcfa788348dd36 Author: Przemyslaw Lewandowski AuthorDate: 2023-07-19 22:40:46 +0000 Commit: Eric Joyner CommitDate: 2023-07-20 22:42:22 +0000 iflib: Unlock ctx lock around call to ether_ifattach() Panic occurs during loading driver using kldload. It exists since netli= nk is enabled. There is problem with double locking ctx. This fix allows to = call ether_ifattach() without locked ctx. Signed-off-by: Eric Joyner PR: 271768 Reviewed by: erj@, jhb@ Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D40557 (cherry picked from commit a52f23f4c49e4766fb9eb0bf460cc83c5f63f17d) sys/net/iflib.c | 6 ++++++ 1 file changed, 6 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=