Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dave Anderson and committed by
Jonathan Corbet
83d26b63 f55532a0

+1 -1
+1 -1
Documentation/networking/filter.txt
··· 230 230 mul 0, 4 A * <x> 231 231 div 0, 4 A / <x> 232 232 mod 0, 4 A % <x> 233 - neg 0, 4 !A 233 + neg !A 234 234 and 0, 4 A & <x> 235 235 or 0, 4 A | <x> 236 236 xor 0, 4 A ^ <x>