summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatt Mullins2019-06-11 23:53:04 +0200
committerGreg Kroah-Hartman2019-07-03 13:14:48 +0200
commita7177b94aff4febe657fe31bb7e5ecdef72079f4 (patch)
tree06a65e780c52e1053c7cee746cbbdea0a9827148 /net
parentbpf: lpm_trie: check left child of last leftmost node for NULL (diff)
downloadkernel-qcow2-linux-a7177b94aff4febe657fe31bb7e5ecdef72079f4.tar.gz
kernel-qcow2-linux-a7177b94aff4febe657fe31bb7e5ecdef72079f4.tar.xz
kernel-qcow2-linux-a7177b94aff4febe657fe31bb7e5ecdef72079f4.zip
bpf: fix nested bpf tracepoints with per-cpu data
commit 9594dc3c7e71b9f52bee1d7852eb3d4e3aea9e99 upstream. BPF_PROG_TYPE_RAW_TRACEPOINTs can be executed nested on the same CPU, as they do not increment bpf_prog_active while executing. This enables three levels of nesting, to support - a kprobe or raw tp or perf event, - another one of the above that irq context happens to call, and - another one in nmi context (at most one of which may be a kprobe or perf event). Fixes: 20b9d7ac4852 ("bpf: avoid excessive stack usage for perf_sample_data") Signed-off-by: Matt Mullins <mmullins@fb.com> Acked-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions