diff options
| author | Herbert Xu <[email protected]> | 2019-05-16 07:19:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-16 16:45:20 +0000 |
| commit | ba6306e3f648a857ae52ddcabc2859542fd2f94c (patch) | |
| tree | 8d9582c2d800f1a7cfa3daef5afb67f263ead579 /tools/bpf/bpftool/prog.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff) | |
| download | kernel-ba6306e3f648a857ae52ddcabc2859542fd2f94c.tar.gz kernel-ba6306e3f648a857ae52ddcabc2859542fd2f94c.zip | |
rhashtable: Remove RCU marking from rhash_lock_head
The opaque type rhash_lock_head should not be marked with __rcu
because it can never be dereferenced. We should apply the RCU
marking when we turn it into a pointer which can be dereferenced.
This patch does exactly that. This fixes a number of sparse
warnings as well as getting rid of some unnecessary RCU checking.
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
