Re: [PATCH trival 1/2] bpf: clean up put_cpu_var usage

2016-09-27 Thread Daniel Borkmann
Shaohua, On 09/27/2016 01:51 AM, Alexei Starovoitov wrote: On Mon, Sep 26, 2016 at 11:14:50AM -0700, Shaohua Li wrote: put_cpu_var takes the percpu data, not the data returned from get_cpu_var. This doesn't change the behavior. Cc: Tejun Heo Cc: Alexei Starovoitov Signed-off-by: Shaohua Li

Re: [PATCH trival 1/2] bpf: clean up put_cpu_var usage

2016-09-26 Thread Alexei Starovoitov
On Mon, Sep 26, 2016 at 11:14:50AM -0700, Shaohua Li wrote: > put_cpu_var takes the percpu data, not the data returned from > get_cpu_var. > > This doesn't change the behavior. > > Cc: Tejun Heo > Cc: Alexei Starovoitov > Signed-off-by: Shaohua Li Looks good. Nice catch. Please rebase to net-