From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7751C43470 for ; Fri, 30 Apr 2021 15:04:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 857E861165 for ; Fri, 30 Apr 2021 15:04:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230351AbhD3PFV (ORCPT ); Fri, 30 Apr 2021 11:05:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbhD3PFR (ORCPT ); Fri, 30 Apr 2021 11:05:17 -0400 Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91F02C06138B; Fri, 30 Apr 2021 08:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=skogtun.org ; s=ds202012; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aPSY+RLSm4RP1U8eAbHWdB5pfF/zZR6OtXxIGIA9qsE=; b=rXxYWHtmgmn9o7WuMZIQuNuybH RtcgCifXfMD6EBO3Ww9covJ2KzZIPAraFwwuMDJA9bfQeW8w7ZPD1smaXqh8oOp90eY7d4TEwEjA4 CeVDmI0ZW24M4+lbikG4SZTkxARRjd46gexpYxBeWz35U8VAZtPq7+uSFqKoBxTjeDYcrXx1HizOS XRtxNWK9+pSaLxdPlRqj9rUxGnF/55e0/NcB9u8ed+YFVmqMfK66pf8SMq8etDCfUhJ9ec4fjWhox akMzA/ZLQWNuu2Gu5IEMW05sImbN1RjHtrmThITjdS9WYbYJsh9iOeLXhq9yIe1WIyEQgd9A7Q/qT eid13bhg==; Received: from [2a01:79c:cebf:7fb0::17] (port=50862) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lcUgr-00010V-Kg; Fri, 30 Apr 2021 17:04:25 +0200 Subject: Re: [PATCH 5.12 4/5] cfg80211: fix locking in netlink owner interface destruction To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org, Johannes Berg , Linus Torvalds References: <20210430141910.899518186@linuxfoundation.org> <20210430141911.033571444@linuxfoundation.org> From: Harald Arnesen Message-ID: <1669b7da-173b-c5d5-efd3-72ca64a3e221@skogtun.org> Date: Fri, 30 Apr 2021 17:04:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210430141911.033571444@linuxfoundation.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greg Kroah-Hartman [30.04.2021 16:20]: > From: Johannes Berg > > commit ea6b2098dd02789f68770fd3d5a373732207be2f upstream. > > Harald Arnesen reported [1] a deadlock at reboot time, and after > he captured a stack trace a picture developed of what's going on: > > The distribution he's using is using iwd (not wpa_supplicant) to > manage wireless. iwd will usually use the "socket owner" option > when it creates new interfaces, so that they're automatically > destroyed when it quits (unexpectedly or otherwise). This is also > done by wpa_supplicant, but it doesn't do it for the normal one, > only for additional ones, which is different with iwd. I just want to point out that the distribution (Void Linux) can use either wpa_supplicant or iwd. I just happened to use iwd on this machine. -- Hilsen Harald