diff options
author | Bob Copeland <me@bobcopeland.com> | 2016-02-29 02:03:56 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-05 10:56:30 +0200 |
commit | 2bdaf386f99c4a82788812e583ff59c6714ae4d6 (patch) | |
tree | 903aff9c23f928cc3c1f5811ac4ff129d0206546 /net/mac80211/trace.c | |
parent | mac80211_hwsim: Support a hw scan request for a specific BSSID (diff) | |
download | linux-2bdaf386f99c4a82788812e583ff59c6714ae4d6.tar.xz linux-2bdaf386f99c4a82788812e583ff59c6714ae4d6.zip |
mac80211: mesh: move path tables into if_mesh
The mesh path and mesh gate hashtables are global, containing
all of the mpaths for every mesh interface, but the paths are
all tied logically to a single interface. The common case is
just a single mesh interface, so optimize for that by moving
the global hashtable into the per-interface struct.
Doing so allows us to drop sdata pointer comparisons inside
the lookups and also saves a few bytes of BSS and data.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.c')
0 files changed, 0 insertions, 0 deletions