diff options
author | Alexei Starovoitov <[email protected]> | 2021-11-10 09:25:56 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-11-12 16:19:40 +0100 |
commit | 34d11a440c6167133201b7374065b59f259730d7 (patch) | |
tree | 668f5685d99490a5db621c97cf3c6f68a4529642 /scripts/clang-tools/gen_compile_commands.py | |
parent | 199d983bc01513173dd9cc486dbddf4d0e414d42 (diff) |
bpf: Fix inner map state pruning regression.
Introduction of map_uid made two lookups from outer map to be distinct.
That distinction is only necessary when inner map has an embedded timer.
Otherwise it will make the verifier state pruning to be conservative
which will cause complex programs to hit 1M insn_processed limit.
Tighten map_uid logic to apply to inner maps with timers only.
Fixes: 3e8ce29850f1 ("bpf: Prevent pointer mismatch in bpf_timer_init.")
Reported-by: Lorenz Bauer <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Lorenz Bauer <[email protected]>
Link: https://lore.kernel.org/bpf/CACAyw99hVEJFoiBH_ZGyy=+oO-jyydoz6v1DeKPKs2HVsUH28w@mail.gmail.com
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions