diff options
author | Maxim Mikityanskiy <maxim@isovalent.com> | 2024-01-08 23:51:58 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-01-24 01:40:22 +0300 |
commit | 32f55dd4add4df1a5bc8febc1fafd3086290dbf6 (patch) | |
tree | fe863af03a5060bd15176ee4d484dba73e6c8919 /net/wireless/sysfs.h | |
parent | c035b3e555b5642f786fb2d089a6ddf7b00eb374 (diff) | |
download | linux-32f55dd4add4df1a5bc8febc1fafd3086290dbf6.tar.xz |
bpf: Make bpf_for_each_spilled_reg consider narrow spills
Adjust the check in bpf_get_spilled_reg to take into account spilled
registers narrower than 64 bits. That allows find_equal_scalars to
properly adjust the range of all spilled registers that have the same
ID. Before this change, it was possible for a register and a spilled
register to have the same IDs but different ranges if the spill was
narrower than 64 bits and a range check was performed on the register.
Signed-off-by: Maxim Mikityanskiy <maxim@isovalent.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240108205209.838365-5-maxtram95@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/wireless/sysfs.h')
0 files changed, 0 insertions, 0 deletions