Re: [PATCH] bpf: Fix off-by-one in tail call count limiting
From: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Date: 2021-07-29 21:38:04
Also in:
netdev
From: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Date: 2021-07-29 21:38:04
Also in:
netdev
On Wed, Jul 28, 2021 at 9:13 PM Yonghong Song [off-list ref] wrote:
I also checked arm/arm64 jit. I saw the following comments:
/* if (tail_call_cnt > MAX_TAIL_CALL_CNT)
* goto out;
* tail_call_cnt++;
*/
Maybe we have this MAX_TAIL_CALL_CNT + 1 issue
for arm/arm64 jit?That wouldn't be unreasonable. I don't have an arm or arm64 setup available right now, but I can try to test it in qemu.