Re: [PATCH 0/2] Fix some bpf program testing framework bugs

2017-05-02 Thread Alexei Starovoitov
On 5/2/17 8:36 AM, David Miller wrote: This series fixes two issue: 1) Accidental user pointer dereference in bpf_test_finish() 2) The packet data given to the test programs is not aligned correctly The first issue is fixed simply because we have a kernel side copy of the datastructure in que

[PATCH 0/2] Fix some bpf program testing framework bugs

2017-05-02 Thread David Miller
This series fixes two issue: 1) Accidental user pointer dereference in bpf_test_finish() 2) The packet data given to the test programs is not aligned correctly The first issue is fixed simply because we have a kernel side copy of the datastructure in question already. And the second bug is a s