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

John Fastabend
2020-03-06T15:29:31Z

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

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