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

From: John Fastabend
Date: Fri Mar 06 2020 - 10:29:33 EST


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>
> ---
> net/core/sock_map.c | 19 ++++---------------
> 1 file changed, 4 insertions(+), 15 deletions(-)
>

Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>