diff options
author | Johan Almbladh | 2021-07-28 18:47:41 +0200 |
---|---|---|
committer | Andrii Nakryiko | 2021-08-02 15:05:43 -0700 |
commit | b61a28cf11d61f512172e673b8f8c4a6c789b425 (patch) | |
tree | 65723b716120462a8be617eda038846a59045dca /net/unix | |
parent | 7cdd0a89ec70ce6a720171f1f7817ee9502b134c (diff) |
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 <johan.almbladh@anyfinetworks.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210728164741.350370-1-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions