From: William McVicker <willmcvicker@google.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Johannes Berg <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org,
Marek Szyprowski <m.szyprowski@samsung.com>,
Kalle Valo <kvalo@codeaurora.org>,
"David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, Amitkumar Karwar <amitkarwar@gmail.com>,
Ganapathi Bhat <ganapathi.bhat@nxp.com>,
Xinming Hu <huxinming820@gmail.com>,
kernel-team@android.com, Paolo Abeni <pabeni@redhat.com>
Subject: Re: [BUG] deadlock in nl80211_vendor_cmd
Date: Sat, 26 Mar 2022 00:12:28 +0000 [thread overview]
Message-ID: <Yj5abNAYJEDdoJNg@google.com> (raw)
In-Reply-To: <20220325170712.69c2c8d3@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
On 03/25/2022, Jakub Kicinski wrote:
> On Fri, 25 Mar 2022 23:57:33 +0000 William McVicker wrote:
> > Instead of open coding it, we could just pass the internal_flags via struct
> > genl_info to nl80211_vendor_cmds() and then handle the rtnl_unlock() there if
> > the vendor command doesn't request it. I included the patch below in case
> > there's any chance you would consider this for upstream. This would at least
> > add backwards compatibility to the vendor ops API so that existing drivers that
> > depend on the RTNL being held don't need to be fully refactored.
>
> Sorry to step in, Johannes may be AFK already. There's no asterisk next
> to the "we don't cater to out of tree code" rule, AFAIK. We change
> locking often, making a precedent like this would be ill-advised.
Yeah I understand. I'll talk to Broadcom about this to see why they didn't use
the existing upstream NAN interface. This sounds like it's going to be
a problem for all the Android out-of-tree drivers.
Thanks for the help!
--Will
next prev parent reply other threads:[~2022-03-26 0:12 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-17 17:09 [BUG] deadlock in nl80211_vendor_cmd willmcvicker
[not found] ` <CABYd82Z=YXmZPTQhf0K1M4nS2wk3dPBSqx91D8SoUd59AUzpHg@mail.gmail.com>
2022-03-21 17:00 ` William McVicker
2022-03-21 20:07 ` Johannes Berg
2022-03-22 0:15 ` William McVicker
2022-03-22 21:31 ` Jeff Johnson
2022-03-22 21:58 ` William McVicker
2022-03-23 16:06 ` Jeff Johnson
2022-03-24 21:58 ` William McVicker
2022-03-25 12:04 ` Johannes Berg
2022-03-25 12:06 ` Johannes Berg
2022-03-25 16:49 ` Jakub Kicinski
2022-03-25 17:01 ` Johannes Berg
2022-03-25 18:08 ` William McVicker
2022-03-25 20:21 ` Johannes Berg
2022-03-25 20:36 ` William McVicker
2022-03-25 21:16 ` Johannes Berg
2022-03-25 21:54 ` Johannes Berg
2022-03-25 22:18 ` Jeff Johnson
2022-03-25 23:57 ` William McVicker
2022-03-26 0:07 ` Jakub Kicinski
2022-03-26 0:12 ` William McVicker [this message]
2022-03-25 20:40 ` Jakub Kicinski
2022-03-25 21:25 ` Johannes Berg
2022-03-25 21:48 ` Jakub Kicinski
2022-03-25 21:50 ` Johannes Berg
2022-03-25 12:09 ` Johannes Berg
2022-03-25 15:59 ` Jeff Johnson
2022-03-25 16:04 ` Johannes Berg
2022-03-25 17:14 ` Jeff Johnson
2022-03-25 12:08 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yj5abNAYJEDdoJNg@google.com \
--to=willmcvicker@google.com \
--cc=amitkarwar@gmail.com \
--cc=davem@davemloft.net \
--cc=ganapathi.bhat@nxp.com \
--cc=huxinming820@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=kernel-team@android.com \
--cc=kuba@kernel.org \
--cc=kvalo@codeaurora.org \
--cc=linux-wireless@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.