Re: [PATCH] net: bpf_jit: fix an off-one bug in x86_64 cond jump target
From: David Miller <davem@davemloft.net> Date: 2011-12-19 20:49:02
From: Eric Dumazet <redacted>
Date: Sat, 17 Dec 2011 22:39:08 +0100
From: Markus Kötter <redacted>
x86 jump instruction size is 2 or 5 bytes (near/long jump), not 2 or 6
bytes.
In case a conditional jump is followed by a long jump, conditional jump
target is one byte past the start of target instruction.
Signed-off-by: Markus Kötter <redacted>
Signed-off-by: Eric Dumazet <redacted>