Re: [PATCH bpf-next v3 06/12] bpf: sockmap: simplify sock_map_init_proto

From: Jakub Sitnicki
Date: Thu Mar 05 2020 - 07:39:12 EST


On Wed, Mar 04, 2020 at 11:13 AM CET, Lorenz Bauer wrote:
> We can take advantage of the fact that both callers of
> sock_map_init_proto are holding a RCU read lock, and
> have verified that psock is valid.
>
> Signed-off-by: Lorenz Bauer <lmb@xxxxxxxxxxxxxx>
> ---

Reviewed-by: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx>

[...]