Date: Thu, 20 Jul 2023 22:48:30 +0000 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 Message-ID: <bug-271768-227-8ZnsP5mktN@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271768-227@https.bugs.freebsd.org/bugzilla/> References: <bug-271768-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <przemyslawx.lewandowski@intel.com> AuthorDate: 2023-07-19 22:40:46 +0000 Commit: Eric Joyner <erj@FreeBSD.org> 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 <erj@FreeBSD.org> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271768-227-8ZnsP5mktN>