diff options
author | Thomas Pedersen <thomas@cozybit.com> | 2012-12-17 18:41:57 -0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-03 12:59:59 +0100 |
commit | b7cfcd113ac2a1e6b02afc7d283295729fc178a9 (patch) | |
tree | ae679e6b42aff435ddf2c8d8276ae0ab228d9588 /net/mac80211/mesh.h | |
parent | 4d76d21bd700fcf72a030ad75c71c816707039b8 (diff) |
mac80211: RMC buckets are just list heads
The array of rmc_entrys is redundant since only the
list_head is used. Make this an array of list_heads
instead and save ~6k per vif at runtime :D
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r-- | net/mac80211/mesh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index 7c9215fb2ac8..84c28c6101cd 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h @@ -184,7 +184,7 @@ struct rmc_entry { }; struct mesh_rmc { - struct rmc_entry bucket[RMC_BUCKETS]; + struct list_head bucket[RMC_BUCKETS]; u32 idx_mask; }; |