Commit d588304
bpf: check for insn arrays in check_ptr_alignment
Do not abuse the strict_alignment_once flag, and check if the map is
an instruction array inside the check_ptr_alignment() function.
Suggested-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Anton Protopopov <[email protected]>1 parent 8c83cb5 commit d588304
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6482 | 6482 | | |
6483 | 6483 | | |
6484 | 6484 | | |
| 6485 | + | |
| 6486 | + | |
6485 | 6487 | | |
6486 | 6488 | | |
6487 | 6489 | | |
| |||
7529 | 7531 | | |
7530 | 7532 | | |
7531 | 7533 | | |
7532 | | - | |
7533 | | - | |
7534 | 7534 | | |
7535 | 7535 | | |
7536 | 7536 | | |
7537 | 7537 | | |
7538 | 7538 | | |
7539 | 7539 | | |
7540 | 7540 | | |
7541 | | - | |
| 7541 | + | |
7542 | 7542 | | |
7543 | 7543 | | |
7544 | 7544 | | |
| |||
0 commit comments