From nobody Thu Jul 20 22:57:33 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 4R6Skj3lpzz4nStf for ; Thu, 20 Jul 2023 22:57:33 +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 4R6Skj23GWz4Mlj for ; Thu, 20 Jul 2023 22:57:33 +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=1689893853; 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=gqhcHtjcnbAYTcq79/7gFEmW0QzyLYlXl/E2UDEywYE=; b=jgqAsgsxuxNIfo/IZ0g3SNG7gZ/V3d04FBxmoudXlE0UbRZE7zJliMXoPIXl19pV8+Obmc sW16Y7H0WNFL42euV5+owti1vQkWRQ051WTyx3ilLy5NwI06YVjURvwJbTeKjud2nyUoVF e4l5sxaeGmgaSq4GhSVQcGkTQk79wgdiEOCsltTJUQFBtumSgpmZdUM5n+gHeIKvcm83Vx 1IhPdqB3+q99wqKSZIP6Ws9GIIn8dfAWB0UusV6cuMURcFqbOdI+o1K/MGrcq2s13Mz8F+ M89bld8TtTgBqxI5AgoLvKFRY34QzrzcY4Q2F21AJI0idebA6PfB3LELDJfX8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689893853; a=rsa-sha256; cv=none; b=USp4qzeWq7N2ICmiGRU/dD5NM7Bk4qA7ZhrvxFwVEgSZOTehAphzjRPUinMvR08rLFgw+X wWKFdiYjz7LvgkjZ5jQkjT+4ZZqKkyegaJMNRf+drSwGHsQAxjV+V3Thb+AlopK56Obmt8 iwGapgWYMgUsBOpdcf2h83AyiNF5EDXLFe03rXZ2yB7pBz9C7EtWIOX3BLDgARXcTqUlVs gYbryfHPd26sZvvKTnzHRKYyImUa5C2Pj8Qb1DzYGCgNXfoULyYtR0RwDfVbgelDLXzJZD OiJ7vINdQZ+QBBPb8fqwT+dVJJ1rRYzIn2tmUtjsN4hXhDn/OhcwpeHbQOdJGw== 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 4R6Skj12lqzpg9 for ; Thu, 20 Jul 2023 22:57:33 +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 36KMvXkP045861 for ; Thu, 20 Jul 2023 22:57:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36KMvXJ2045860 for bugs@FreeBSD.org; Thu, 20 Jul 2023 22:57:33 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:57:33 +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 #7 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D2617bca5a8c98e9e84fba3f2ebd9302e8= e893b8f commit 2617bca5a8c98e9e84fba3f2ebd9302e8e893b8f Author: Przemyslaw Lewandowski AuthorDate: 2023-07-19 22:40:46 +0000 Commit: Eric Joyner CommitDate: 2023-07-20 22:56:41 +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.=