Commit 4a163b1
bpf: Move off_reg into sanitize_ptr_alu
commit 6f55b2f upstream.
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 19bfeb4 commit 4a163b1
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4336 | 4336 | | |
4337 | 4337 | | |
4338 | 4338 | | |
4339 | | - | |
4340 | | - | |
| 4339 | + | |
| 4340 | + | |
4341 | 4341 | | |
4342 | 4342 | | |
4343 | 4343 | | |
| 4344 | + | |
4344 | 4345 | | |
4345 | 4346 | | |
4346 | 4347 | | |
| |||
4474 | 4475 | | |
4475 | 4476 | | |
4476 | 4477 | | |
4477 | | - | |
| 4478 | + | |
4478 | 4479 | | |
4479 | 4480 | | |
4480 | 4481 | | |
| |||
4529 | 4530 | | |
4530 | 4531 | | |
4531 | 4532 | | |
4532 | | - | |
| 4533 | + | |
4533 | 4534 | | |
4534 | 4535 | | |
4535 | 4536 | | |
| |||
0 commit comments