Re: [PATCH] test_bpf: Add a couple of tests for BPF_JSGE.

2017-05-25 Thread David Miller
From: David Daney Date: Wed, 24 May 2017 16:35:49 -0700 > Some JITs can optimize comparisons with zero. Add a couple of > BPF_JSGE tests against immediate zero. > > Signed-off-by: David Daney Applied, thank you. This reminds me that I should

Re: [PATCH] test_bpf: Add a couple of tests for BPF_JSGE.

2017-05-24 Thread Daniel Borkmann
On 05/25/2017 01:35 AM, David Daney wrote: Some JITs can optimize comparisons with zero. Add a couple of BPF_JSGE tests against immediate zero. Signed-off-by: David Daney Thanks for the tests! Acked-by: Daniel Borkmann

[PATCH] test_bpf: Add a couple of tests for BPF_JSGE.

2017-05-24 Thread David Daney
Some JITs can optimize comparisons with zero. Add a couple of BPF_JSGE tests against immediate zero. Signed-off-by: David Daney --- lib/test_bpf.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/lib/test_bpf.c b/lib/test_bpf.c