Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: Call maybe_wait_bpf_programs() only once from generic_map_delete…
…_batch() As stated in the comment found in maybe_wait_bpf_programs(), the synchronize_rcu() barrier is only needed before returning to userspace, not after each deletion in the batch. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Stanislav Fomichev <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
- Loading branch information