commit | 480d875f12424a86fd710e8762ed1e23b7f02572 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Mon Mar 22 15:45:52 2021 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 21 13:01:00 2021 +0200 |
tree | a7e538cf7f9826cec0e4f5de0362299b0383a155 | |
parent | 589fd9684dfafee37c60abde4ca3c0af723be3b3 [diff] |
bpf: Move off_reg into sanitize_ptr_alu [ Upstream commit 6f55b2f2a1178856c19bbce2f71449926e731914 ] Small refactor to drag off_reg into sanitize_ptr_alu(), so we later on can use off_reg for generalizing some of the checks for all pointer types. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>