1. 29 Mar, 2015 6 commits
  2. 27 Mar, 2015 12 commits
  3. 25 Mar, 2015 20 commits
  4. 24 Mar, 2015 2 commits
    • David S. Miller's avatar
      Merge branch 'rhashtable-next' · 9ead3527
      David S. Miller authored
      Thomas Graf says:
      
      ====================
      rhashtable updates on top of Herbert's work
      
      Patch 1 is a bugfix for an RCU splash I encountered while testing.
      Patch 2 & 3 are pure cleanups. Patch 4 disables automatic shrinking
      by default as discussed in previous thread. Patch 5 removes some
      rhashtable internal knowledge from nft_hash and fixes another RCU
      splash.
      
      I've pushed various rhashtable tests (Netlink, nft) together with a
      Makefile to a git tree [0] for easier stress testing.
      
      [0] https://github.com/tgraf/rhashtable
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9ead3527
    • Thomas Graf's avatar
      rhashtable: Add rhashtable_free_and_destroy() · 6b6f302c
      Thomas Graf authored
      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: default avatarThomas Graf <tgraf@suug.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6b6f302c