projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b313332
)
bpf, doc: Change right arguments for JIT example code
author
Mao Wenan
<maowenan@huawei.com>
Thu, 14 Nov 2019 03:43:51 +0000
(11:43 +0800)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Fri, 15 Nov 2019 21:36:35 +0000
(22:36 +0100)
The example code for the x86_64 JIT uses the wrong arguments when
calling function bar().
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link:
https://lore.kernel.org/bpf/20191114034351.162740-1-maowenan@huawei.com
Documentation/networking/filter.txt
patch
|
blob
|
history
diff --git
a/Documentation/networking/filter.txt
b/Documentation/networking/filter.txt
index 319e5e041f3808b3f0b77fcc4f6c511b4918144b..c4a328f2d57a109d9e9bcde47ce767809efe1870 100644
(file)
--- a/
Documentation/networking/filter.txt
+++ b/
Documentation/networking/filter.txt
@@
-770,10
+770,10
@@
Some core changes of the new internal format:
callq foo
mov %rax,%r13
mov %rbx,%rdi
- mov $0x
2
,%esi
- mov $0x
3
,%edx
- mov $0x
4
,%ecx
- mov $0x
5
,%r8d
+ mov $0x
6
,%esi
+ mov $0x
7
,%edx
+ mov $0x
8
,%ecx
+ mov $0x
9
,%r8d
callq bar
add %r13,%rax
mov -0x228(%rbp),%rbx