summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/originator.c
diff options
context:
space:
mode:
authorSimon Wunderlich2015-08-03 19:13:58 +0200
committerAntonio Quartulli2015-08-27 20:15:32 +0200
commitbd3524c14bd02f94a4fa33e700883e01182f5ed5 (patch)
treecfdeb69b5c86ec115a9c28113d107b8a58cd5d2d /net/batman-adv/originator.c
parentbatman-adv: move neigh_node list add into batadv_neigh_node_new() (diff)
downloadkernel-qcow2-linux-bd3524c14bd02f94a4fa33e700883e01182f5ed5.tar.gz
kernel-qcow2-linux-bd3524c14bd02f94a4fa33e700883e01182f5ed5.tar.xz
kernel-qcow2-linux-bd3524c14bd02f94a4fa33e700883e01182f5ed5.zip
batman-adv: remove obsolete deleted attribute for gateway node
With rcu, the gateway node deleted attribute is not needed anymore. In fact, it may delay the free of the gateway node and its referenced structures. Therefore remove it altogether and simplify purging as well. Signed-off-by: Simon Wunderlich <simon@open-mesh.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/originator.c')
-rw-r--r--net/batman-adv/originator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index f7517757d435..d6d9809fee66 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -1028,7 +1028,6 @@ static void _batadv_purge_orig(struct batadv_priv *bat_priv)
spin_unlock_bh(list_lock);
}
- batadv_gw_node_purge(bat_priv);
batadv_gw_election(bat_priv);
}