[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250922123412.0ab3140a@kernel.org>
Date: Mon, 22 Sep 2025 12:34:12 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Luiz Augusto von Dentz <luiz.dentz@...il.com>
Cc: davem@...emloft.net, linux-bluetooth@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [GIT PULL] bluetooth 2025-09-20
On Mon, 22 Sep 2025 09:59:44 -0400 Luiz Augusto von Dentz wrote:
> > On Sat, 20 Sep 2025 11:04:53 -0400 Luiz Augusto von Dentz wrote:
> > > Bluetooth: MGMT: Fix possible UAFs
> >
> > Are you amenable to rewriting this one? The conditional locking really
> > doesn't look great. It's just a few more lines for the caller to take
> > the lock, below completely untested but to illustrate..
>
> I guess the idea is to have it open coded to avoid mistakes like
> unbalanced locking, etc, right?
Yup! Makes it easier to read the code basically.
Thanks for the v2!
Powered by blists - more mailing lists