aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorTom Herbert <[email protected]>2015-10-14 14:40:44 -0700
committerDavid S. Miller <[email protected]>2015-10-16 00:55:02 -0700
commitac00737f4e8198f8ff5007c70af4dfe4fd47ea94 (patch)
tree5af06d01f20cdae4204667f9885a29c8f501eddc /lib/netdev-notifier-error-inject.c
parenta302afe980ca6b25b2bae0b5bc816fe1dc1bb039 (diff)
bpf: Need to call bpf_prog_uncharge_memlock from bpf_prog_put
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: aaac3ba95e4c8b49 ("bpf: charge user for creation of BPF maps and programs") Signed-off-by: Tom Herbert <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions