Re: [PATCH net-next 6/9] bpf: fix stack_depth usage by test_bpf.ko

2017-06-06 Thread Daniel Borkmann
On 05/31/2017 08:45 PM, Alexei Starovoitov wrote: On 5/31/17 11:43 AM, David Miller wrote: From: Alexei Starovoitov Date: Wed, 31 May 2017 11:39:37 -0700 On 5/31/17 11:15 AM, David Miller wrote: From: Alexei Starovoitov Date: Tue, 30 May 2017 13:31:32 -0700

Re: [PATCH net-next 6/9] bpf: fix stack_depth usage by test_bpf.ko

2017-05-31 Thread David Miller
From: Alexei Starovoitov Date: Wed, 31 May 2017 15:41:09 -0700 > On 5/31/17 11:45 AM, Alexei Starovoitov wrote: >> On 5/31/17 11:43 AM, David Miller wrote: >>> From: Alexei Starovoitov >>> Date: Wed, 31 May 2017 11:39:37 -0700 >>> On 5/31/17 11:15 AM, David Miller

Re: [PATCH net-next 6/9] bpf: fix stack_depth usage by test_bpf.ko

2017-05-31 Thread Alexei Starovoitov
On 5/31/17 11:45 AM, Alexei Starovoitov wrote: On 5/31/17 11:43 AM, David Miller wrote: From: Alexei Starovoitov Date: Wed, 31 May 2017 11:39:37 -0700 On 5/31/17 11:15 AM, David Miller wrote: From: Alexei Starovoitov Date: Tue, 30 May 2017 13:31:32 -0700

Re: [PATCH net-next 6/9] bpf: fix stack_depth usage by test_bpf.ko

2017-05-31 Thread Alexei Starovoitov
On 5/31/17 11:43 AM, David Miller wrote: From: Alexei Starovoitov Date: Wed, 31 May 2017 11:39:37 -0700 On 5/31/17 11:15 AM, David Miller wrote: From: Alexei Starovoitov Date: Tue, 30 May 2017 13:31:32 -0700 test_bpf.ko doesn't call verifier before selecting

Re: [PATCH net-next 6/9] bpf: fix stack_depth usage by test_bpf.ko

2017-05-31 Thread David Miller
From: Alexei Starovoitov Date: Wed, 31 May 2017 11:39:37 -0700 > On 5/31/17 11:15 AM, David Miller wrote: >> From: Alexei Starovoitov >> Date: Tue, 30 May 2017 13:31:32 -0700 >> >>> test_bpf.ko doesn't call verifier before selecting interpreter or >>> JITing, >>> hence

Re: [PATCH net-next 6/9] bpf: fix stack_depth usage by test_bpf.ko

2017-05-31 Thread Alexei Starovoitov
On 5/31/17 11:15 AM, David Miller wrote: From: Alexei Starovoitov Date: Tue, 30 May 2017 13:31:32 -0700 test_bpf.ko doesn't call verifier before selecting interpreter or JITing, hence the tests need to manually specify the amount of stack they consume. Signed-off-by: Alexei

Re: [PATCH net-next 6/9] bpf: fix stack_depth usage by test_bpf.ko

2017-05-31 Thread David Miller
From: Alexei Starovoitov Date: Tue, 30 May 2017 13:31:32 -0700 > test_bpf.ko doesn't call verifier before selecting interpreter or JITing, > hence the tests need to manually specify the amount of stack they consume. > > Signed-off-by: Alexei Starovoitov >

[PATCH net-next 6/9] bpf: fix stack_depth usage by test_bpf.ko

2017-05-30 Thread Alexei Starovoitov
test_bpf.ko doesn't call verifier before selecting interpreter or JITing, hence the tests need to manually specify the amount of stack they consume. Signed-off-by: Alexei Starovoitov Acked-by: Daniel Borkmann --- lib/test_bpf.c | 25