Re: [PATCH bpf-next] bpf: Fix the irq and nmi check in bpf_sk_storage for tracing usage

2020-11-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Mon, 16 Nov 2020 12:01:13 -0800 you wrote: > 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

[PATCH bpf-next] bpf: Fix the irq and nmi check in bpf_sk_storage for tracing usage

2020-11-16 Thread Martin KaFai Lau
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