Merge branch 'bpf-fixes-for-maybe_wait_bpf_programs'
authorAlexei Starovoitov <ast@kernel.org>
Sun, 10 Dec 2023 02:12:34 +0000 (18:12 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 10 Dec 2023 02:13:23 +0000 (18:13 -0800)
commit8477fe1de9a631d634ccfda7fe147eba90f55732
treec83148f14906289ef86d99908011d97a4fb8aba1
parent32fa058398624166dd04ff4af49cfef69c94abbc
parent06e5c999f10269a532304e89a6adb2fbfeb0593c
Merge branch 'bpf-fixes-for-maybe_wait_bpf_programs'

Hou Tao says:

====================
The patch set aims to fix the problems found when inspecting the code
related with maybe_wait_bpf_programs().

Patch #1 removes unnecessary invocation of maybe_wait_bpf_programs().
Patch #2 calls maybe_wait_bpf_programs() only once for batched update.
Patch #3 adds the missed waiting when doing batched lookup_deletion on
htab of maps. Patch #4 does wait only if the update or deletion
operation succeeds. Patch #5 fixes the value of batch.count when memory
allocation fails.
====================

Link: https://lore.kernel.org/r/20231208102355.2628918-1-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>