summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/syscall.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-10-26 23:41:32 +0200
committerAlexei Starovoitov <ast@kernel.org>2021-10-27 20:13:52 +0200
commitd979617aa84d96acca44c2f5778892b4565e322f (patch)
treeff58a7ed0c96b37015fb26af06e914d4677256e7 /kernel/bpf/syscall.c
parentbpf: Avoid races in __bpf_prog_run() for 32bit arches (diff)
downloadlinux-d979617aa84d96acca44c2f5778892b4565e322f.tar.xz
linux-d979617aa84d96acca44c2f5778892b4565e322f.zip
bpf: Fixes possible race in update_prog_stats() for 32bit arches
It seems update_prog_stats() suffers from same issue fixed in the prior patch: As it can run while interrupts are enabled, it could be re-entered and the u64_stats syncp could be mangled. Fixes: fec56f5890d9 ("bpf: Introduce BPF trampoline") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211026214133.3114279-3-eric.dumazet@gmail.com
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions