We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e906248 commit f4483f2Copy full SHA for f4483f2
arch/arm/net/bpf_jit_32.c
@@ -949,7 +949,7 @@ static int emit_bpf_tail_call(struct jit_ctx *ctx)
949
const u8 *tcc = bpf2a32[TCALL_CNT];
950
const int idx0 = ctx->idx;
951
#define cur_offset (ctx->idx - idx0)
952
-#define jmp_offset (out_offset - (cur_offset))
+#define jmp_offset (out_offset - (cur_offset) - 2)
953
u32 off, lo, hi;
954
955
/* if (index >= array->map.max_entries)
0 commit comments