diff options
author | Antonio Quartulli <[email protected]> | 2011-10-22 00:55:39 +0200 |
---|---|---|
committer | Marek Lindner <[email protected]> | 2011-10-25 14:23:05 +0200 |
commit | 93840ac40bb0d0f177ef8af74e64671be67e8c37 (patch) | |
tree | 3dd927a278ab6bd234520babaa5e8ddfbe4b276b /tools/perf/scripts/python | |
parent | 6e8014947d6469df1566e9e253805557c5c0e4e0 (diff) |
batman-adv: unify hash_entry field position in tt_local/global_entry
Function tt_response_fill_table() actually uses a tt_local_entry pointer to
iterate either over the local or the global table entries (it depends on the
what hash table is passed as argument). To iterate over such entries the
hlist_for_each_entry_rcu() macro has to access their "hash_entry" field which
MUST be at the same position in both the tt_global/local_entry structures.
Reported-by: Simon Wunderlich <[email protected]>
Signed-off-by: Antonio Quartulli <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions