From nobody Sat Sep 30 15:29:44 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 4RyWNn2NTnz4vTgS for ; Sat, 30 Sep 2023 15:29:45 +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 4RyWNm4hKPz4QTY for ; Sat, 30 Sep 2023 15:29:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696087784; a=rsa-sha256; cv=none; b=eMLNRHMusfDdn3FjJX43oL4tm0KshkubKOQS2fOpuSyQ0CXm4pT/HcHUJy4UJhlyJg/TBv SdxHBnVPd1HelZI3uCeprAikGQdmnZsjm/DCrobeuq+Ld9pY5JXySV36Td7DrYKwhRbrja UAajf8smGf62aYbxuFyXrquVfE21uyHZh9VqVBBoz6zbX6tMwaQtBQb/hMQuQHN31RBlbs KQI/a59Po4TXTOhn/KaNYwum8Bo8vrKwS97x4Qvmta4MctxXLL7GoaYALg4fSZwKv2QNBx zTMn9NWyBSc4Fs4x4M7XsVoohTWYDO7dCO0PyKNwZvuOc2hry/AXk0G7cvJHzA== 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=1696087784; 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=crgajKgHJyclAj2RUeKwlOxy3ij6SJN5hsJCwJeh55U=; b=t/fxQ3IHiV/iynU7UN8UaVny7Vz8tqBe++Cqr/WN4NnFP+sjS8KaAizkk/FKYs0y0R7wgw cHPCCX4WrnU2xbx3Rj7Ig1ICXOrx1XEdZxKvxQpbpd1m4JC385jk9eFcm+epwdB/mvZA5E e3cDpj9S0p1AN/YGevBclTOKIaCY8dOh7ZtXua6p9vqkZRBucaLQw1pDC584AF4jJXDauJ 5V5UXgtze6mavM7XR4ocBpwYvxAsSHgiNo8CrbKc/ZTYb70T/h5DMWuPPtQnDj2LDAlo8n eSHKvHxbQieERItYs6ZAg4HHll6aqbW67Xst52KjtyT7aU1mMwDcJZwhqAHU1g== 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 4RyWNm3h7zzshZ for ; Sat, 30 Sep 2023 15:29:44 +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 38UFTiLm051834 for ; Sat, 30 Sep 2023 15:29:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38UFTiLd051832 for wireless@FreeBSD.org; Sat, 30 Sep 2023 15:29:44 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: Sat, 30 Sep 2023 15:29:44 +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 Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open 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 #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Ddbf7691999abe501e0ebc0fe4d8d9e977= 18d3890 commit dbf7691999abe501e0ebc0fe4d8d9e97718d3890 Author: Bjoern A. Zeeb AuthorDate: 2023-09-30 15:20:53 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-09-30 15:27:05 +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. The solution is not fully developed yet and one may not be able to create a new vap (lkpi_ic_vap_create may fail with error 17) afterwards. It is supposed to be a step towards more stability for now. Sponsored by: The FreeBSD Foundation MFC after: 3 days PR: 269842 sys/compat/linuxkpi/common/src/linux_80211.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=