summaryrefslogtreecommitdiff
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-07-16 01:15:55 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-16 22:03:39 -0700
commit858d68f10238fdd1ebdd0096f912f063e97c6766 (patch)
treea8ec4a97a18b1c5671f178bad48b84337ec81259 /kernel/kthread.c
parentc5c4e45c4b79acb23f07e43dac1348e67b4ddf91 (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>
Diffstat (limited to 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions