diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2021-03-24 11:25:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-21 13:01:00 +0200 |
commit | fbe6603e7cabad8a203a764300531e9ca811317a (patch) | |
tree | 5d5fb167eea4878806cdbd8d23e407a2e84f110e /include/linux/marvell_phy.h | |
parent | 7723d3243857ab20f6450cfbbd765d8594e5e308 (diff) |
bpf: Move sanitize_val_alu out of op switch
commit f528819334881fd622fdadeddb3f7edaed8b7c9b upstream.
Add a small sanitize_needed() helper function and move sanitize_val_alu()
out of the main opcode switch. In upcoming work, we'll move sanitize_ptr_alu()
as well out of its opcode switch so this helps to streamline both.
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/marvell_phy.h')
0 files changed, 0 insertions, 0 deletions