On Fri, Jan 16, 2015 at 07:35:57PM +0000, Patrick McHardy wrote:
Well, rhashtable (or generally resizing) will make it a lot worse.
Usually we at worst miss entries which were added during the dump,
which is made up by the notifications.
With resizing we might miss anything, its completely undeterministic.
Correct. If you want to have a stable dump you will need to have
data structure outside the hash table. For example, with xfrm_state
we do it with a linked list.
Cheers,
--
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt