]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4047d8e2ae1d8ddb43c4489e45803028663908fa
treed92e90a6248822a7ad720643521c48f6a9ca5f51
parent74b4c77b487e53dfb0a6880b345af0cda2e8a1cb
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