rhashtable: Extend RCU read lock into rhashtable_insert_rehash()
authorThomas Graf <tgraf@suug.ch>
Tue, 24 Mar 2015 13:18:16 +0000 (14:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2015 21:48:39 +0000 (17:48 -0400)
commit58be8a583d8d316448bafa5926414cfb83c02dec
tree092d64f3cdb0c8ebc32bebc5b6391406e53acc6a
parent27cd5452476978283decb19e429e81fc6c71e74b
rhashtable: Extend RCU read lock into rhashtable_insert_rehash()

rhashtable_insert_rehash() requires RCU locks to be held in order
to access ht->tbl and traverse to the last table.

Fixes: ccd57b1bd324 ("rhashtable: Add immediate rehash during insertion")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rhashtable.h