Searched hist:93840 (Results 1 - 1 of 1) sorted by relevance

/linux-master/net/batman-adv/
H A Dtypes.hdiff 93840ac4 Fri Oct 21 16:55:39 MDT 2011 Antonio Quartulli <ordex@autistici.org> 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 <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

Completed in 155 milliseconds