summaryrefslogtreecommitdiffstats
path: root/lib/rhashtable.c
diff options
context:
space:
mode:
authorThomas Graf2014-08-13 16:38:29 +0200
committerDavid S. Miller2014-08-15 00:13:39 +0200
commit5300fdcb7b7e97d83033bc7196582705524d35ea (patch)
tree4aff86f9863ee5b4bf21827580c7423c515647d5 /lib/rhashtable.c
parenttcp: fix ssthresh and undo for consecutive short FRTO episodes (diff)
downloadkernel-qcow2-linux-5300fdcb7b7e97d83033bc7196582705524d35ea.tar.gz
kernel-qcow2-linux-5300fdcb7b7e97d83033bc7196582705524d35ea.tar.xz
kernel-qcow2-linux-5300fdcb7b7e97d83033bc7196582705524d35ea.zip
rhashtable: RCU annotations for next pointers
Properly annotate next pointers as access is RCU protected in the lookup path. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/rhashtable.c')
-rw-r--r--lib/rhashtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rhashtable.c b/lib/rhashtable.c
index e6940cf16628..338dd7aa5e13 100644
--- a/lib/rhashtable.c
+++ b/lib/rhashtable.c
@@ -386,7 +386,7 @@ EXPORT_SYMBOL_GPL(rhashtable_insert);
* deletion when combined with walking or lookup.
*/
void rhashtable_remove_pprev(struct rhashtable *ht, struct rhash_head *obj,
- struct rhash_head **pprev, gfp_t flags)
+ struct rhash_head __rcu **pprev, gfp_t flags)
{
struct bucket_table *tbl = rht_dereference(ht->tbl, ht);