]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: mesh: embed gates hlist head directly
authorBob Copeland <me@bobcopeland.com>
Sat, 19 Mar 2016 02:11:30 +0000 (22:11 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2016 19:34:51 +0000 (21:34 +0200)
commit18b27ff7d2e232b0f07f2f51aa8052ff2a617908
tree78c8d16a5ef5430a1eaf062b6ec296fbca033972
parent47a0489ce1e518f4936c7fedb93b3d2abd7ccd2e
mac80211: mesh: embed gates hlist head directly

Since we have converted the mesh path tables to rhashtable, we are
no longer swapping out the entire mesh_pathtbl pointer with RCU.
As a result, we no longer need indirection to the hlist head for
the gates list and can simply embed it, saving a pair of
pointer-sized allocations.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.h
net/mac80211/mesh_pathtbl.c