Commit e4180e7
bpf: clean-up bounds checking in __bpf_get_stack
Clean-up bounds checking for trace->nr in
__bpf_get_stack by limiting it only to
max_depth.
Acked-by: Song Liu <[email protected]>
Cc: Song Liu <[email protected]>
Signed-off-by: Arnaud Lecomte <[email protected]>1 parent 4f1e065 commit e4180e7
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
466 | 466 | | |
467 | | - | |
| 467 | + | |
| 468 | + | |
468 | 469 | | |
469 | | - | |
| 470 | + | |
470 | 471 | | |
471 | 472 | | |
| 473 | + | |
472 | 474 | | |
473 | 475 | | |
474 | 476 | | |
| |||
0 commit comments