Re: [PATCH net-next v1] bpf: Use u64_to_user_ptr()

2016-11-13 Thread Alexei Starovoitov
On Sun, Nov 13, 2016 at 07:44:03PM +0100, Mickaël Salaün wrote: > Replace the custom u64_to_ptr() function with the u64_to_user_ptr() > macro. > > Signed-off-by: Mickaël Salaün Thanks for following up on this one. Acked-by: Alexei Starovoitov

Re: [PATCH net-next v1] bpf: Use u64_to_user_ptr()

2016-11-13 Thread Daniel Borkmann
On 11/13/2016 07:44 PM, Mickaël Salaün wrote: Replace the custom u64_to_ptr() function with the u64_to_user_ptr() macro. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Arnd Bergmann Cc: Daniel Borkmann Looks

[PATCH net-next v1] bpf: Use u64_to_user_ptr()

2016-11-13 Thread Mickaël Salaün
Replace the custom u64_to_ptr() function with the u64_to_user_ptr() macro. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Arnd Bergmann Cc: Daniel Borkmann --- kernel/bpf/syscall.c | 29