On 4/16/21 2:58 AM, Denis Salopek wrote:
Add bpf_map_lookup_and_delete_elem_flags() libbpf API in order to use the BPF_F_LOCK flag with the map_lookup_and_delete_elem() function. Cc: Juraj Vijtiuk <juraj.vijtiuk@xxxxxxxxxx> Cc: Luka Oreskovic <luka.oreskovic@xxxxxxxxxx> Cc: Luka Perkov <luka.perkov@xxxxxxxxxx> Cc: Yonghong Song <yhs@xxxxxx> Cc: Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> Cc: Daniel Borkmann <daniel@xxxxxxxxxxxxx> Signed-off-by: Denis Salopek <denis.salopek@xxxxxxxxxx>
Acked-by: Yonghong Song <yhs@xxxxxx>