On Saturday, October 22, 2011 00:55:39 Antonio Quartulli wrote:
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.
Patch was applied in revision 474f917.
Thanks, Marek
PS: Antonio, please keep in mind that I apply this patch as a temporary measure not as the final fix.