diff options
author | Markus Kötter <nepenthesdev@gmail.com> | 2011-12-17 12:39:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-19 21:47:29 +0100 |
commit | a03ffcf873fe0f2565386ca8ef832144c42e67fa (patch) | |
tree | fd83a7eefe03946bba72c5a087d6c9aabb7aadb8 /net/llc | |
parent | Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff) | |
download | linux-a03ffcf873fe0f2565386ca8ef832144c42e67fa.tar.xz linux-a03ffcf873fe0f2565386ca8ef832144c42e67fa.zip |
net: bpf_jit: fix an off-one bug in x86_64 cond jump target
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>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions