diff options
author | Dave Anderson <danderson@google.com> | 2016-03-28 14:56:47 -0700 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-03-31 00:30:41 -0600 |
commit | 83d26b63268faf9137878e34f7e8cfda8a089124 (patch) | |
tree | 364411a6957df1e9962acc3504ef2834837cf919 | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) | |
download | lwn-83d26b63268faf9137878e34f7e8cfda8a089124.tar.gz lwn-83d26b63268faf9137878e34f7e8cfda8a089124.zip |
bpf: doc: "neg" opcode has no operands
Fixes a copy-paste-o in the BPF opcode table: "neg" takes no arguments
and thus has no addressing modes.
Signed-off-by: Dave Anderson <danderson@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r-- | Documentation/networking/filter.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt index 96da119a47e7..11f67f181d39 100644 --- a/Documentation/networking/filter.txt +++ b/Documentation/networking/filter.txt @@ -230,7 +230,7 @@ opcodes as defined in linux/filter.h stand for: mul 0, 4 A * <x> div 0, 4 A / <x> mod 0, 4 A % <x> - neg 0, 4 !A + neg !A and 0, 4 A & <x> or 0, 4 A | <x> xor 0, 4 A ^ <x> |