From patchwork Tue Feb 2 14:41:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Berg X-Patchwork-Id: 12061907 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=-21.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 D8766C433E6 for ; Tue, 2 Feb 2021 14:44:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A73CB64F4D for ; Tue, 2 Feb 2021 14:44:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231927AbhBBOoX (ORCPT ); Tue, 2 Feb 2021 09:44:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234580AbhBBOl4 (ORCPT ); Tue, 2 Feb 2021 09:41:56 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5166BC061573; Tue, 2 Feb 2021 06:41:13 -0800 (PST) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1l6wrf-00EuM5-L5; Tue, 02 Feb 2021 15:41:11 +0100 From: Johannes Berg To: netdev@vger.kernel.org Cc: linux-wireless@vger.kernel.org Subject: pull-request: mac80211-next 2021-02-02 Date: Tue, 2 Feb 2021 15:41:05 +0100 Message-Id: <20210202144106.38207-1-johannes@sipsolutions.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Jakub, And for mac80211-next, I have only locking fixes right now. I'm happy that it otherwise seems to be fine though, now no new bugs have been reported for a few days. I might send some more things your way another day, but wanted to get the locking fixes out sooner. Please pull and let me know if there's any problem. Thanks, johannes The following changes since commit d1f3bdd4eaae1222063c2f309625656108815915: net: dsa: rtl8366rb: standardize init jam tables (2021-01-27 20:21:20 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git tags/mac80211-next-for-net-next-2021-02-02 for you to fetch changes up to 40c575d1ec71f7a61c73ba1603a69650c130559c: cfg80211: fix netdev registration deadlock (2021-02-01 19:30:54 +0100) ---------------------------------------------------------------- This time, only RTNL locking reduction fallout. - cfg80211_dev_rename() requires RTNL - cfg80211_change_iface() and cfg80211_set_encryption() require wiphy mutex (was missing in wireless extensions) - cfg80211_destroy_ifaces() requires wiphy mutex - netdev registration can fail due to notifiers, and then notifiers are "unrolled", need to handle this properly ---------------------------------------------------------------- Johannes Berg (5): nl80211: call cfg80211_dev_rename() under RTNL wext: call cfg80211_change_iface() with wiphy lock held wext: call cfg80211_set_encryption() with wiphy lock held cfg80211: call cfg80211_destroy_ifaces() with wiphy lock held cfg80211: fix netdev registration deadlock include/net/cfg80211.h | 4 +++- net/wireless/core.c | 7 ++++++- net/wireless/nl80211.c | 2 +- net/wireless/wext-compat.c | 14 ++++++++++++-- 4 files changed, 22 insertions(+), 5 deletions(-)