aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2020-11-16 20:01:13 +0000
committerAlexei Starovoitov <[email protected]>2020-11-17 00:46:01 +0000
commitb93ef089d35c3386dd197e85afb6399bbd54cfb3 (patch)
tree11b857e0b9e1c1e5ffb9cd4d8b467fd20d87ccd6 /scripts/bpf_helpers_doc.py
parentselftest/bpf: Fix IPV6FR handling in flow dissector (diff)
downloadkernel-b93ef089d35c3386dd197e85afb6399bbd54cfb3.tar.gz
kernel-b93ef089d35c3386dd197e85afb6399bbd54cfb3.zip
bpf: Fix the irq and nmi check in bpf_sk_storage for tracing usage
The intention of the current check is to avoid using bpf_sk_storage in irq and nmi. Jakub pointed out that the current check cannot do that. For example, in_serving_softirq() returns true if the softirq handling is interrupted by hard irq. Fixes: 8e4597c627fb ("bpf: Allow using bpf_sk_storage in FENTRY/FEXIT/RAW_TP") Suggested-by: Jakub Kicinski <[email protected]> Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions