Files
linux-torvalds-mirror/include/linux
Thomas Graf 6b6f302ced rhashtable: Add rhashtable_free_and_destroy()
rhashtable_destroy() variant which stops rehashes, iterates over
the table and calls a callback to release resources.

Avoids need for nft_hash to embed rhashtable internals and allows to
get rid of the being_destroyed flag. It also saves a 2nd mutex
lock upon destruction.

Also fixes an RCU lockdep splash on nft set destruction due to
calling rht_for_each_entry_safe() without holding bucket locks.
Open code this loop as we need know that no mutations may occur in
parallel.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-24 17:48:40 -04:00
..
2015-02-19 13:31:40 +03:00
2015-02-18 07:28:37 -08:00
2015-03-11 15:56:59 -07:00
2015-03-02 16:43:41 -05:00
2015-02-17 14:34:51 -08:00
2015-03-11 17:56:28 -04:00
2015-02-17 14:34:52 -08:00
2015-02-16 17:56:03 -08:00
2015-03-11 21:55:28 -04:00
2015-02-17 22:21:11 -05:00