[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231017110746.4f26b779@kernel.org>
Date: Tue, 17 Oct 2023 11:07:46 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jiri Pirko <jiri@...nulli.us>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com
Subject: Re: [PATCH net 3/5] net: avoid UAF on deleted altname
On Tue, 17 Oct 2023 18:35:31 +0200 Jiri Pirko wrote:
> >>As I said in the commit message, I prefer the explicit sync.
> >>Re-inserting the device and taking refs already necessitate it.
> >
> >You don't need any ref, just rcu_dereference() the netdev pointer.
>
> Oh wait, you are right. Sorry for the fuzz.
>
> Reviewed-by: Jiri Pirko <jiri@...dia.com>
Thanks! I'll improve the commit message for v2.
Powered by blists - more mailing lists