]> git.baikalelectronics.ru Git - kernel.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)
commit1e30121a4f1e5d0e6ddda6418b118a2e7a867415
tree78c8d16a5ef5430a1eaf062b6ec296fbca033972
parent9e40eea976c4985b77d6cb60acd307083cea1ab3
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