Re: rhashtable: Fix potential crash on destroy in rhashtable_shrink
From: Thomas Graf <tgraf@suug.ch>
Date: 2015-01-31 12:15:48
From: Thomas Graf <tgraf@suug.ch>
Date: 2015-01-31 12:15:48
On 01/31/15 at 10:22pm, Herbert Xu wrote:
That's too late. nft_hash will have freed all the elements before rhashtable_destroy gets called.
I see, so this is to accomodate nft_hash which doesn't remove the elements from the hash but just frees them. Acked-by: Thomas Graf <tgraf@suug.ch>