diff options
author | Markus Kötter <nepenthesdev@gmail.com> | 2011-12-17 11:39:08 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-06 14:17:26 -0800 |
commit | b8b7320109c5fc492688d63fc3089fd0868a0aa1 (patch) | |
tree | e93c692d67d9624013a778b147740e2448919a6b /arch/.gitignore | |
parent | 904bc58192c45c132938a97629578a954f26478d (diff) |
net: bpf_jit: fix an off-one bug in x86_64 cond jump target
[ Upstream commit a03ffcf873fe0f2565386ca8ef832144c42e67fa ]
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 <nepenthesdev@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions