bpf: cgroup: annotate pointers in struct cgroup_bpf with __rcu
authorDaniel Mack <daniel@zonque.org>
Thu, 15 Dec 2016 09:53:21 +0000 (10:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Dec 2016 16:14:25 +0000 (11:14 -0500)
commitdcdc43d6642c828fa10d25130a92b712003d2ca4
treed92e90a6248822a7ad720643521c48f6a9ca5f51
parent28055c9710e7ab1479d018224be697f63eac2daa
bpf: cgroup: annotate pointers in struct cgroup_bpf with __rcu

The member 'effective' in 'struct cgroup_bpf' is protected by RCU.
Annotate it accordingly to squelch a sparse warning.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/bpf-cgroup.h