summaryrefslogtreecommitdiff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorMao Wenan <maowenan@huawei.com>2019-11-14 11:43:51 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-11-15 22:36:35 +0100
commit808c9f7ebfffffc0a9a5d8aee1533759f09f93fc (patch)
tree6f494b924f1bdb890f49083c5b37d35dfa289bcb /Documentation/networking
parentb31333298087f8ee3559bd62bcbd1638f232cac0 (diff)
bpf, doc: Change right arguments for JIT example code
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
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/filter.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt
index 319e5e041f38..c4a328f2d57a 100644
--- 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 $0x2,%esi
- mov $0x3,%edx
- mov $0x4,%ecx
- mov $0x5,%r8d
+ mov $0x6,%esi
+ mov $0x7,%edx
+ mov $0x8,%ecx
+ mov $0x9,%r8d
callq bar
add %r13,%rax
mov -0x228(%rbp),%rbx