rhashtable: Check for count mismatch while iterating in selftest
authorThomas Graf <tgraf@suug.ch>
Mon, 24 Nov 2014 11:37:58 +0000 (12:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2014 21:17:31 +0000 (16:17 -0500)
Verify whether both the lock and RCU protected iterators see all
test entries before and after expanding and shrinking has been
performed. Also verify whether the number of entries in the hashtable
remains stable during expansion and shrinking.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c

Simple merge