bpf: clean up put_cpu_var usage
authorShaohua Li <shli@fb.com>
Tue, 27 Sep 2016 15:42:41 +0000 (08:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Sep 2016 02:09:17 +0000 (22:09 -0400)
commitb761fe226be61eba6ae20a424b288559b8a606b5
treecfcdd8e788c3f697295217f5e2c8b9a427a814dd
parente96e0eded1335b9cfac71fcdd989d682eb3f8412
bpf: clean up put_cpu_var usage

put_cpu_var takes the percpu data, not the data returned from
get_cpu_var.

This doesn't change the behavior.

Cc: Tejun Heo <tj@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Shaohua Li <shli@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/core.c