rhashtable: Restore RCU marking on rhash_lock_head
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Jul 2020 10:14:34 +0000 (20:14 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Aug 2020 13:35:39 +0000 (15:35 +0200)
commitebd4edd83d43a70e5102f5f498d484f9806ac50c
tree7a46ddf0e27c1700fbdfb64922be83156c219137
parent01f5ed845906f03b5c096f4451f9c90f8153c691
rhashtable: Restore RCU marking on rhash_lock_head

[ Upstream commit ce9b362bf6db51a083c4221ef0f93c16cfb1facf ]

This patch restores the RCU marking on bucket_table->buckets as
it really does need RCU protection.  Its removal had led to a fatal
bug.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/rhashtable.h
lib/rhashtable.c