From: Johannes Berg <johannes@sipsolutions.net>
To: Oliver Hartkopp <socketcan@hartkopp.net>,
Kuniyuki Iwashima <kuniyu@google.com>,
Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org
Subject: Re: [GIT PULL] wireless-next-2026-10-07
Date: Thu, 15 Oct 2026 14:54:33 +0200 [thread overview]
Message-ID: <7e95ff419f81425b9fa18c74f3a77208764751bb.camel@sipsolutions.net> (raw)
In-Reply-To: <51e3f9ce-fa8c-4cdb-b5bf-d05f53cb52ac@hartkopp.net>
On Thu, 2026-10-15 at 14:43 +0200, Oliver Hartkopp wrote:
>
> On 15.10.26 14:27, Johannes Berg wrote:
> > On Wed, 2026-10-07 at 19:05 -0700, Kuniyuki Iwashima wrote:
> > >
> > > Also,
> > > I hope we could remove the long comment in __rtnl_unlock().
> >
> > So I sent my next PR, and we could therefore do that now. I also checked
> > across the other places in the tree, and isotp_release() was the only
> > one that seems to do something similar, keeping a socket pinned around
> > rtnl_unlock(), but I don't think that could cause a similar problem.
>
> If I got your claim correctly, I think we are solving this in this
> net-next PR too:
>
> https://lore.kernel.org/linux-can/20261015015336.816543-8-mkl@pengutronix.de/
I _think_ that's unrelated, but I might well not understand it
correctly. I was looking at the rtnl_unlock() portion, where that could
run a netdev todo item. Even with that change, you have
rtnl_lock()
lock_sock()
...
rtnl_unlock()
...
release_sock()
which looks sufficiently similar to
rtnl_lock()
wiphy_lock()
rtnl_unlock()
...
wiphy_unlock()
that my search flagged it, but isn't really the same anyway. But I'm not
sure I understand the socket lock semantics and the socket notifier etc.
well enough that I should be commenting on this at all :)
johannes
next prev parent reply other threads:[~2026-10-15 12:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 20:57 [GIT PULL] wireless-next-2026-10-07 Johannes Berg
2026-10-07 23:36 ` Jakub Kicinski
2026-10-08 2:05 ` Kuniyuki Iwashima
2026-10-08 7:44 ` Johannes Berg
2026-10-08 15:01 ` Johannes Berg
2026-10-09 21:24 ` Kuniyuki Iwashima
2026-10-15 12:27 ` Johannes Berg
2026-10-15 12:43 ` Oliver Hartkopp
2026-10-15 12:54 ` Johannes Berg [this message]
2026-10-15 13:13 ` Oliver Hartkopp
2026-10-07 23:40 ` patchwork-bot+netdevbpf
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=7e95ff419f81425b9fa18c74f3a77208764751bb.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=socketcan@hartkopp.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox