Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp817071pxf; Thu, 18 Mar 2021 12:14:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2WDyiT0SJLSGYbQa601Kkbsei2D4SpvwbrK0PY6nD9RjtpWhmbYLC3jz1CttVx+oxo2OC X-Received: by 2002:a17:906:39a:: with SMTP id b26mr136737eja.158.1616094857402; Thu, 18 Mar 2021 12:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616094857; cv=none; d=google.com; s=arc-20160816; b=IoA1d2nyW5Q/OoZmypnorKVaYJM7+CY/7PB0vcFKo8tBIvvs7p6NWNAXP6B+98h/l3 bydxN/QnAUaKpPQPYBfA4aIX80qFrdifGHuauqcXCy6kLlRNwzdspB/kGnb9iQxFD/8P PxHgWCDrW2h2aXKnHcXzQZkj9SqNZZ5P+rz1VE0feFBBoac1pVL73aZLxTMbeL6hpzdt xSQqnofdOV6ZNjfeTZWI4V3AIh4VTkmbsAbiqF12KqS9WLJ/4pKcAa8K9TDtlsUd0qYv 8XihqTHX5CYmr3u+OE9364kJfvtc3jAaaTUFyoVy8L7HH5wWRxGz3TsQ3vs2rCc0ouLs +EFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=HPJtLazzfpf+5Oftql9jquhTn373urRa7Cu/0Ikmp6o=; b=ACMl+nJvRBTKARgd/twqEotneVxiq0tVP+/J6k+R1BPKsUsWPjNpeeRBouUbb7SvLV VtDTfPEbgYemJvJ0+I3vZEyPwYTLJ0HzSls2hLMvEeLAQDpMCAVa5ljK7uMS+ZV828VU weaa6E6cl6w5xJstYABsnflmNMCJz3t1pX8SeK6es2qFlxPRusInUBSFnu7GLdp6xn0f sc81BfXlMgIqE3/Z5CKSZs+qDY+aZagOuC1mP9AQ2WEsvpHP0ONdqD80HLk9AtuFEln1 moIfgmaTsMKRsGvPzMPKPfSeShuxaQswqIi+j2Gp0TrTjp4m966BOj/bXUGCA88bFu+a R/dQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt17si2277300edb.424.2021.03.18.12.13.54; Thu, 18 Mar 2021 12:14:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232320AbhCRTNU (ORCPT + 99 others); Thu, 18 Mar 2021 15:13:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232855AbhCRTNN (ORCPT ); Thu, 18 Mar 2021 15:13:13 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFAE6C06174A for ; Thu, 18 Mar 2021 12:13:11 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1lMy4z-000Gme-Fn; Thu, 18 Mar 2021 20:13:09 +0100 Message-ID: <05ede675a6829ab3f3e69a1766a9df39f18ad024.camel@sipsolutions.net> Subject: Re: [PATCH v2] cfg80211: avoid holding the RTNL when calling the driver From: Johannes Berg To: Peter Collingbourne Cc: linux-wireless@vger.kernel.org Date: Thu, 18 Mar 2021 20:13:08 +0100 In-Reply-To: (sfid-20210318_201103_082515_6B31AB13) References: (sfid-20210318_201103_082515_6B31AB13) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2021-03-18 at 12:10 -0700, Peter Collingbourne wrote: > Yes, it was deadlocking after a few minutes, although at that time I > hadn't confirmed that the deadlock was being caused by the patch or by > some other issue. Ah ok :) > > In any case, I fixed it here, I believe: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211.git/commit/?id=77cbf790e5b482256662e14c8b6ef4fecb07d06d > > I cherry-picked that patch and tested it on my setup, and it fixed > both the warnings and the deadlocks. So if you like you can add my: > > Tested-by: Peter Collingbourne Too late since it's already applied and just got into net also (so hopefully into rc4), but thanks for confirming that it works! johannes