On Sunday 22 March 2015 16:23:40 Sven Eckelmann wrote:
@@ -628,12 +638,13 @@ struct batadv_priv_tvlv {
- struct batadv_priv_dat - per mesh interface DAT private data
- @addr: node DAT address
- @hash: hashtable representing the local ARP cache
*/
- @hash_lock: locks for each hashtable buckets
- @work: work queue callback item for cache purging
#ifdef CONFIG_BATMAN_ADV_DAT struct batadv_priv_dat { batadv_dat_addr_t addr;
- struct batadv_hashtable *hash;
- struct batadv_hashbucket hash[1024]; struct delayed_work work;
}; #endif
There is no hash_lock and thus this hash_lock comment should not be added.
Kind regards, Sven