From nobody Mon Oct 09 23:17:27 2023 X-Original-To: wireless@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 4S4FLJ0QxZz4wh6p for ; Mon, 9 Oct 2023 23:17:28 +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 4S4FLH4545z3TKh for ; Mon, 9 Oct 2023 23:17:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696893447; a=rsa-sha256; cv=none; b=RqVtkTo3j3rlYYRHqiNDAT/PeYeOBVcE5nrP3sn4stGYtWT80V5eBaXAMnwRYg8fYjK3+O gcqEcu8y4xV1REP/WUFS3aAA7UBZV5/wix/N91mAGXiYFmM/tryYHfsEe5By/qu/Of0vJc FjJYEayduDym/azamZoUcpJybTWIu0SXD/38vx4L+SwFfv0epUL9NJNG9eGcCgZDP8yuJi Fv+8aAJzdojI/4ji758/aqxZ0NBd8Ie1JI96QYrikqwl1Qm9Yw4T7Hm8kQSqw3Gqpm57kP YpKu52qQQZDK1Cc3aZ/i/i734PYKGnZC/CmBxczRSHMQYjGvH+yiR0Osy0bLwA== 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=1696893447; 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=+k+7UluVrNnrR1dJqJTa+7iophZ+k8j/RNWJldIWtCU=; b=Hsj1IYxRjoboi3IYPu4DdQtDPGho+EZ/8/ePrUAM13YPnmGKVGaNXPzEjK6o8l723KByI8 A31YxBtUz2dvnLo/gFqHDeBdlBnja06k9J6u4S6eCL6RlbYrJgFqYkuG5SO3eGzno78aX3 iBTTkXNl8aJyMmgKhuqNU3BxRpLz4MvK6YCrczos70H6o6y3q9jCqwJ1+z+hoO2Zsk+jOC a+n+D9FMwXKnJa9UW0T2/KwjZy6T7wnW9WiV/MSobqzHBNQEAt/M22Du0w9YVzZiP+8l5x OAPs5q9ZwSBCjBc7RSa8GdZ8KPCgrqwzcRvhwUzOygyOcW8mhTy13TjQi8Dxhg== 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 4S4FLH1mbGzlD for ; Mon, 9 Oct 2023 23:17:27 +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 399NHRVf064059 for ; Mon, 9 Oct 2023 23:17:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 399NHRYA064058 for wireless@FreeBSD.org; Mon, 9 Oct 2023 23:17:27 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: wireless@FreeBSD.org Subject: [Bug 269842] iwlwifi: crash (kernel panic) on ifconfig wlan0 destroy Date: Mon, 09 Oct 2023 23:17:27 +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 X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269842 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch releng/14.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D914a319cd6ec26415459259d3f7c5c49d= 11f0654 commit 914a319cd6ec26415459259d3f7c5c49d11f0654 Author: Bjoern A. Zeeb AuthorDate: 2023-09-30 15:20:53 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-10-09 23:14:52 +0000 LinuxKPI: 802.11: improve lkpi_ic_vap_delete() Changing the order of cleanup in lkpi_ic_vap_delete() will avoid firmware crashes or a direct panic as observed as ieee80211_vap_detach() will do most cleanup for us and get us into the correct state. Calling mo_stop() in lkpi_ic_vap_delete() seems to stop the problem that further VAPs could not be created (error 17) after the first one being destroyed. Sponsored by: The FreeBSD Foundation PR: 269842 Approved by: re (gjb) (cherry picked from commit dbf7691999abe501e0ebc0fe4d8d9e97718d3890) (cherry picked from commit 6c38c6b1b917957d420902213f318bf0153214f2) (cherry picked from commit 53ef38313a6dd70e5d929a3d014cc62db807793f) sys/compat/linuxkpi/common/src/linux_80211.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=