diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-04-27 08:28:07 -0400 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-06-20 05:37:30 -0400 |
commit | 7683fdc1e88644ee8108a1f33faba80545f0024d (patch) | |
tree | 6a06c51fc2344e1f88e31591f978f3944cfe230e /net/batman-adv/main.c | |
parent | cc47f66e6b9ec7e7d465f74739a6fc9844593894 (diff) |
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>
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r-- | net/batman-adv/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index 3318ee27fe23..c2b06b71d574 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c | |||
@@ -84,8 +84,6 @@ int mesh_init(struct net_device *soft_iface) | |||
84 | 84 | ||
85 | spin_lock_init(&bat_priv->forw_bat_list_lock); | 85 | spin_lock_init(&bat_priv->forw_bat_list_lock); |
86 | spin_lock_init(&bat_priv->forw_bcast_list_lock); | 86 | spin_lock_init(&bat_priv->forw_bcast_list_lock); |
87 | spin_lock_init(&bat_priv->tt_lhash_lock); | ||
88 | spin_lock_init(&bat_priv->tt_ghash_lock); | ||
89 | spin_lock_init(&bat_priv->tt_changes_list_lock); | 87 | spin_lock_init(&bat_priv->tt_changes_list_lock); |
90 | spin_lock_init(&bat_priv->tt_req_list_lock); | 88 | spin_lock_init(&bat_priv->tt_req_list_lock); |
91 | spin_lock_init(&bat_priv->tt_roam_list_lock); | 89 | spin_lock_init(&bat_priv->tt_roam_list_lock); |