mac80211: mesh: convert path table to rhashtable
authorBob Copeland <me@bobcopeland.com>
Wed, 2 Mar 2016 15:09:20 +0000 (10:09 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2016 08:56:33 +0000 (10:56 +0200)
commit60854fd94573f0d3b80b55b40cf0140a0430f3ab
treef39d8d873824d2aa149b0c88a2310eec26d198d3
parent8f6fd83c6c5ec66a4a70c728535ddcdfef4f3697
mac80211: mesh: convert path table to rhashtable

In the time since the mesh path table was implemented as an
RCU-traversable, dynamically growing hash table, a generic RCU
hashtable implementation was added to the kernel.

Switch the mesh path table over to rhashtable to remove some code
and also gain some features like automatic shrinking.

Cc: Thomas Graf <tgraf@suug.ch>
Cc: netdev@vger.kernel.org
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/mesh.h
net/mac80211/mesh_pathtbl.c