Files
kernel_oneplus_sm8250/kernel
Stanislav Fomichev 1194833127 UPSTREAM: bpf: export bpf_map_inc_not_zero
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 <kafai@fb.com>
Cc: Yonghong Song <yhs@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Change-Id: Ibab0863d5901f01840798d5c69bdf92fbf4df5df
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2025-08-28 03:24:40 +03:00
..
2019-12-13 08:51:11 +01:00
2020-01-15 14:51:23 +00:00
2019-08-12 13:36:37 -04:00
2021-02-07 14:48:38 +01:00
2024-05-03 06:16:46 +00:00