public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [bpf PATCH v3 0/3] BPF, a couple sockmap fixes
@ 2018-04-23 22:39 John Fastabend
  2018-04-23 22:39 ` [bpf PATCH v3 1/3] bpf: sockmap, map_release does not hold refcnt for pinned maps John Fastabend
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: John Fastabend @ 2018-04-23 22:39 UTC (permalink / raw)
  To: ast, daniel; +Cc: netdev

While testing sockmap with more programs (besides our test programs)
I found a couple issues.

The attached series fixes an issue where pinned maps were not
working correctly, blocking sockets returned zero, and an error
path that when the sock hit an out of memory case resulted in a
double page_put() while doing ingress redirects.

See individual patches for more details.

v2: Incorporated Daniel's feedback to use map ops for uref put op
    which also fixed the build error discovered in v1.
v3: rename map_put_uref to map_release_uref

---

John Fastabend (3):
      bpf: sockmap, map_release does not hold refcnt for pinned maps
      bpf: sockmap, sk_wait_event needed to handle blocking cases
      bpf: sockmap, fix double page_put on ENOMEM error in redirect path


 0 files changed

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-23 22:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-23 22:39 [bpf PATCH v3 0/3] BPF, a couple sockmap fixes John Fastabend
2018-04-23 22:39 ` [bpf PATCH v3 1/3] bpf: sockmap, map_release does not hold refcnt for pinned maps John Fastabend
2018-04-23 22:39 ` [bpf PATCH v3 2/3] bpf: sockmap, sk_wait_event needed to handle blocking cases John Fastabend
2018-04-23 22:39 ` [bpf PATCH v3 3/3] bpf: sockmap, fix double page_put on ENOMEM error in redirect path John Fastabend
2018-04-23 22:52 ` [bpf PATCH v3 0/3] BPF, a couple sockmap fixes Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox