netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] bpf, doc: fix typo on bpf_asm descriptions
@ 2016-05-16 21:06 Daniel Borkmann
  2016-05-16 21:52 ` Alexei Starovoitov
  2016-05-17  2:20 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Borkmann @ 2016-05-16 21:06 UTC (permalink / raw)
  To: davem; +Cc: alexei.starovoitov, sebastian.amend, netdev, Daniel Borkmann

Fix description of some of the bpf_asm tool related jump instructions
and generally move them to format A <op> k.

Reported-by: Sebastian Amend <sebastian.amend@googlemail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
---
 Documentation/networking/filter.txt | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt
index 6aef0b5..b9a4edf 100644
--- a/Documentation/networking/filter.txt
+++ b/Documentation/networking/filter.txt
@@ -216,14 +216,14 @@ opcodes as defined in linux/filter.h stand for:
 
   jmp              6                    Jump to label
   ja               6                    Jump to label
-  jeq              7, 8                 Jump on k == A
-  jneq             8                    Jump on k != A
-  jne              8                    Jump on k != A
-  jlt              8                    Jump on k < A
-  jle              8                    Jump on k <= A
-  jgt              7, 8                 Jump on k > A
-  jge              7, 8                 Jump on k >= A
-  jset             7, 8                 Jump on k & A
+  jeq              7, 8                 Jump on A == k
+  jneq             8                    Jump on A != k
+  jne              8                    Jump on A != k
+  jlt              8                    Jump on A <  k
+  jle              8                    Jump on A <= k
+  jgt              7, 8                 Jump on A >  k
+  jge              7, 8                 Jump on A >= k
+  jset             7, 8                 Jump on A &  k
 
   add              0, 4                 A + <x>
   sub              0, 4                 A - <x>
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] bpf, doc: fix typo on bpf_asm descriptions
  2016-05-16 21:06 [PATCH net-next] bpf, doc: fix typo on bpf_asm descriptions Daniel Borkmann
@ 2016-05-16 21:52 ` Alexei Starovoitov
  2016-05-17  2:20 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Alexei Starovoitov @ 2016-05-16 21:52 UTC (permalink / raw)
  To: Daniel Borkmann; +Cc: davem, sebastian.amend, netdev

On Mon, May 16, 2016 at 11:06:53PM +0200, Daniel Borkmann wrote:
> Fix description of some of the bpf_asm tool related jump instructions
> and generally move them to format A <op> k.
> 
> Reported-by: Sebastian Amend <sebastian.amend@googlemail.com>
> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>

Acked-by: Alexei Starovoitov <ast@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] bpf, doc: fix typo on bpf_asm descriptions
  2016-05-16 21:06 [PATCH net-next] bpf, doc: fix typo on bpf_asm descriptions Daniel Borkmann
  2016-05-16 21:52 ` Alexei Starovoitov
@ 2016-05-17  2:20 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2016-05-17  2:20 UTC (permalink / raw)
  To: daniel; +Cc: alexei.starovoitov, sebastian.amend, netdev

From: Daniel Borkmann <daniel@iogearbox.net>
Date: Mon, 16 May 2016 23:06:53 +0200

> Fix description of some of the bpf_asm tool related jump instructions
> and generally move them to format A <op> k.
> 
> Reported-by: Sebastian Amend <sebastian.amend@googlemail.com>
> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>

Applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-17  2:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-16 21:06 [PATCH net-next] bpf, doc: fix typo on bpf_asm descriptions Daniel Borkmann
2016-05-16 21:52 ` Alexei Starovoitov
2016-05-17  2:20 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).