OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bpf: generally move prog destruction to RCU deferral
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
kernel
/
bpf
/
arraymap.c
diff --git
a/kernel/bpf/arraymap.c
b/kernel/bpf/arraymap.c
index
0eb11b4
..
daa4e07
100644
(file)
--- a/
kernel/bpf/arraymap.c
+++ b/
kernel/bpf/arraymap.c
@@
-270,9
+270,7
@@
static void *prog_fd_array_get_ptr(struct bpf_map *map, int fd)
static void prog_fd_array_put_ptr(void *ptr)
{
- struct bpf_prog *prog = ptr;
-
- bpf_prog_put_rcu(prog);
+ bpf_prog_put(ptr);
}
/* decrement refcnt of all bpf_progs that are stored in this map */