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>
This commit is contained in:

committed by
David S. Miller

parent
0c9ab09223
commit
5300fdcb7b
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user