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-14 23:08:44 +01:00
2015-03-20 18:51:09 -04:00
2015-03-02 16:43:41 -05:00
2015-03-18 22:52:56 -04:00
2015-03-03 17:01:37 -05:00
2015-03-03 17:01:37 -05:00
2015-03-05 13:17:39 -05:00
2015-02-22 17:00:08 -05:00
2015-03-18 08:30:03 +02:00
2015-03-23 22:02:46 -04:00
2015-03-20 18:51:09 -04:00
2015-03-09 23:38:02 -04:00
2015-02-19 14:14:42 -08:00
2015-03-24 15:25:15 -04:00
2015-03-06 21:50:02 -05:00
2015-03-23 21:40:48 -04:00
2015-03-09 16:06:10 -04:00
2014-10-01 00:44:04 +10:00
2015-03-20 21:37:58 -04:00
2015-03-03 17:01:38 -05:00
2015-03-01 13:40:23 -05:00
2015-03-14 17:11:31 +01:00
2015-03-23 22:22:43 -04:00
2015-03-24 15:21:35 -04:00
2015-03-02 13:06:31 -05:00
2015-03-09 23:38:02 -04:00
2015-03-02 13:06:31 -05:00
2015-03-02 13:06:31 -05:00
2015-03-03 17:01:38 -05:00
2014-10-24 15:51:42 -04:00
2015-03-02 13:06:31 -05:00
2015-03-20 18:51:09 -04:00
2015-03-19 15:32:22 +01:00
2015-03-12 23:05:04 -04:00
2015-03-24 17:48:40 -04:00
2015-02-11 20:25:11 -08:00
2015-03-24 17:48:40 -04:00
2015-03-02 16:43:41 -05:00
2015-03-02 13:06:31 -05:00
2015-03-12 14:39:40 -04:00
2015-03-23 22:01:28 -04:00
2015-03-02 13:06:31 -05:00
2015-03-20 18:51:09 -04:00
2015-02-04 14:57:45 -08:00
2015-03-02 16:43:41 -05:00
2015-03-20 18:51:09 -04:00
2015-03-20 19:10:44 -04:00
2015-03-02 13:06:31 -05:00
2015-03-08 12:53:46 -07:00
2015-03-23 16:44:56 -04:00
2015-03-24 17:48:40 -04:00
2015-03-02 13:06:31 -05:00
2015-03-02 13:06:31 -05:00
2014-10-07 20:28:44 -04:00
2015-03-20 18:51:09 -04:00
2015-03-02 13:06:31 -05:00
2015-03-16 16:16:49 -04:00
2015-03-23 16:41:36 -04:00
2015-01-07 13:08:04 +01:00
2015-03-04 00:26:06 -05:00
2015-03-23 16:41:36 -04:00