diff options
author | Matt Mullins <[email protected]> | 2019-06-11 14:53:04 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-06-15 16:33:35 -0700 |
commit | 9594dc3c7e71b9f52bee1d7852eb3d4e3aea9e99 (patch) | |
tree | a11f3e8496e5785641b067ba4cf79c86c78289d7 /net/lapb/lapb_iface.c | |
parent | 85749218e3a6a1ab4fb3c698394f40f07b80be5e (diff) |
bpf: fix nested bpf tracepoints with per-cpu data
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 <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions