Re: [PATCH v2] Fixing directly deferencing a __rcu pointer warning

From: Mateusz Guzik
Date: Thu Oct 26 2023 - 11:08:10 EST


On 10/26/23, Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> wrote:
> Drive-by comment: perhaps use rcu_dereference_protected() ?
>

Definitely.

But as I mentioned even after applying the patch there are uses which
should have been reported (and consequently sorted out). If one is to
bother with any of this at least the entire file should be covered.

--
Mateusz Guzik <mjguzik gmail.com>