diff options
Diffstat (limited to 'arch/x86/net/bpf_jit_comp32.c')
| -rw-r--r-- | arch/x86/net/bpf_jit_comp32.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/net/bpf_jit_comp32.c b/arch/x86/net/bpf_jit_comp32.c index da9b7cfa4632..429a89c5468b 100644 --- a/arch/x86/net/bpf_jit_comp32.c +++ b/arch/x86/net/bpf_jit_comp32.c @@ -1323,7 +1323,7 @@ static void emit_bpf_tail_call(u8 **pprog, u8 *ip)  	EMIT2(IA32_JBE, jmp_label(jmp_label1, 2));  	/* -	 * if (tail_call_cnt > MAX_TAIL_CALL_CNT) +	 * if (tail_call_cnt++ >= MAX_TAIL_CALL_CNT)  	 *     goto out;  	 */  	lo = (u32)MAX_TAIL_CALL_CNT; @@ -1337,7 +1337,7 @@ static void emit_bpf_tail_call(u8 **pprog, u8 *ip)  	/* cmp ecx,lo */  	EMIT3(0x83, add_1reg(0xF8, IA32_ECX), lo); -	/* ja out */ +	/* jae out */  	EMIT2(IA32_JAE, jmp_label(jmp_label1, 2));  	/* add eax,0x1 */  |