Messages in this thread | | | Date | Fri, 06 Mar 2020 07:29:20 -0800 | From | John Fastabend <> | Subject | RE: [PATCH bpf-next v3 06/12] bpf: sockmap: simplify sock_map_init_proto |
| |
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>
| |