batman-adv: protect the local and the global trans-tables with rcu
The local and the global translation-tables are now lock free and rcu protected. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:

committed by
Sven Eckelmann

parent
cc47f66e6b
commit
7683fdc1e8
@@ -84,8 +84,6 @@ int mesh_init(struct net_device *soft_iface)
|
||||
|
||||
spin_lock_init(&bat_priv->forw_bat_list_lock);
|
||||
spin_lock_init(&bat_priv->forw_bcast_list_lock);
|
||||
spin_lock_init(&bat_priv->tt_lhash_lock);
|
||||
spin_lock_init(&bat_priv->tt_ghash_lock);
|
||||
spin_lock_init(&bat_priv->tt_changes_list_lock);
|
||||
spin_lock_init(&bat_priv->tt_req_list_lock);
|
||||
spin_lock_init(&bat_priv->tt_roam_list_lock);
|
||||
|
Reference in New Issue
Block a user