Re: [PATCH bpf-next v1] bpf: add map helper functions push,pop,peek in more BPF programs
From: Daniel Borkmann
Date: Tue Apr 16 2019 - 04:59:00 EST
On 04/14/2019 06:58 PM, Alban Crequy wrote:
> From: Alban Crequy <alban@xxxxxxxxxx>
>
> commit f1a2e44a3aec ("bpf: add queue and stack maps") introduced new BPF
> helper functions:
> - BPF_FUNC_map_push_elem
> - BPF_FUNC_map_pop_elem
> - BPF_FUNC_map_peek_elem
>
> but they were made available only for network BPF programs. This patch
> makes them available for tracepoint, cgroup and lirc programs.
>
> Signed-off-by: Alban Crequy <alban@xxxxxxxxxx>
> Cc: Mauricio Vasquez B <mauricio.vasquez@xxxxxxxxx>
Applied, thanks!