summaryrefslogtreecommitdiff
path: root/kernel/bpf/syscall.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-07-16 01:15:55 +0200
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:50:24 +0300
commit7eca70725f8ae82609b9fec7473911c93ad153e4 (patch)
tree2e5d9d8012bbc35b4601c849e4e8f0580506a2d2 /kernel/bpf/syscall.c
parenta9873b071769ee05e14be0286b21807b3f76be91 (diff)
bpf: bpf_event_entry_gen's alloc needs to be in atomic context
Should have been obvious, only called from bpf() syscall via map_update_elem() that calls bpf_fd_array_map_update_elem() under RCU read lock and thus this must also be in GFP_ATOMIC, of course. Fixes: 3b1efb196eee ("bpf, maps: flush own entries on perf map release") Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions