diff options
| author | Johan Almbladh <[email protected]> | 2021-07-28 16:47:41 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-08-02 22:05:43 +0000 |
| commit | b61a28cf11d61f512172e673b8f8c4a6c789b425 (patch) | |
| tree | 65723b716120462a8be617eda038846a59045dca /net/unix/unix_bpf.c | |
| parent | net/mlx4: make the array states static const, makes object smaller (diff) | |
| download | kernel-b61a28cf11d61f512172e673b8f8c4a6c789b425.tar.gz kernel-b61a28cf11d61f512172e673b8f8c4a6c789b425.zip | |
bpf: Fix off-by-one in tail call count limiting
Before, the interpreter allowed up to MAX_TAIL_CALL_CNT + 1 tail calls.
Now precisely MAX_TAIL_CALL_CNT is allowed, which is in line with the
behavior of the x86 JITs.
Signed-off-by: Johan Almbladh <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
