Thread (14 messages) flat view 14 messages, 5 authors, 2019-08-13

Re: [PATCH bpf-next v2 1/4] bpf: export bpf_map_inc_not_zero

From: Yonghong Song <hidden>
Date: 2019-08-11 23:54:38
Also in: bpf


On 8/9/19 9:10 AM, Stanislav Fomichev wrote:
Rename existing bpf_map_inc_not_zero to __bpf_map_inc_not_zero to
indicate that it's caller's responsibility to do proper locking.
Create and export bpf_map_inc_not_zero wrapper that properly
locks map_idr_lock. Will be used in the next commit to
hold a map while cloning a socket.

Cc: Martin KaFai Lau <redacted>
Cc: Yonghong Song <redacted>
Signed-off-by: Stanislav Fomichev <redacted>
Acked-by: Yonghong Song <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help