Subject: Re: [PATCH net-next] bpf: Need to call bpf_prog_uncharge_memlock from bpf_prog_put

From: Alexei Starovoitov <[email-masked]>
Date: Wed, 14 Oct 2015 14:51:00 -0700

On 10/14/15 2:40 PM, Tom Herbert wrote:
> Currently, is only called from __prog_put_rcu in the bpf_prog_release
> path. Need this to call this from bpf_prog_put also to get correct
> accounting.
>
> Fixes: commit aaac3ba95e4c8b49 ("bpf: charge user for creation of BPF maps and programs")
> Signed-off-by: Tom Herbert<[email-masked]>

ohh. right. good catch. thanks!
Acked-by: Alexei Starovoitov <[email-masked]>