From: Antonio Quartulli Date: Fri, 21 Oct 2011 22:55:39 +0000 (+0200) Subject: batman-adv: unify hash_entry field position in tt_local/global_entry X-Git-Tag: v3.2-rc1~113^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93840ac40bb0d0f177ef8af74e64671be67e8c37;p=pandora-kernel.git 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 Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner --- Reading git-diff-tree failed