On 8/9/19 9:10 AM, Stanislav Fomichev wrote: > 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@xxxxxx> > Cc: Yonghong Song <yhs@xxxxxx> > Signed-off-by: Stanislav Fomichev <sdf@xxxxxxxxxx> Acked-by: Yonghong Song <yhs@xxxxxx>