Thread (8 messages) 8 messages, 3 authors, 2020-09-28

Re: [PATCH bpf-next 1/4] bpf: sockmap: enable map_update_elem from bpf_iter

From: Lorenz Bauer <hidden>
Date: 2020-09-28 09:06:16
Also in: bpf, lkml

On Fri, 25 Sep 2020 at 22:54, Martin KaFai Lau [off-list ref] wrote:
quoted
+     if (unlikely(!sk))
sk_fullsock(sk) test is also needed.
quoted
+             return -EINVAL;
quoted
+
      if (!sock_map_sk_is_suitable(sk))
sk->sk_type is used in sock_map_sk_is_suitable().
sk_type is not in sock_common.
Oh my, thanks!

-- 
Lorenz Bauer  |  Systems Engineer
6th Floor, County Hall/The Riverside Building, SE1 7PB, UK

www.cloudflare.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help