summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/gateway_client.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2011-03-23 11:24:34 +0100
committerSven Eckelmann <sven@narfation.org>2011-04-17 21:11:01 +0200
commitc4aac1ab9b973798163b34939b522f01e4d28ac9 (patch)
tree7adda276282cf72b87c110b8743dae91fde27ad3 /net/batman-adv/gateway_client.h
parent68003903e4eeec5288f074ff0751a381750ceb34 (diff)
downloadlinux-c4aac1ab9b973798163b34939b522f01e4d28ac9.tar.gz
linux-c4aac1ab9b973798163b34939b522f01e4d28ac9.tar.bz2
linux-c4aac1ab9b973798163b34939b522f01e4d28ac9.zip
batman-adv: concentrate all curr_gw related rcu operations in select/deselect functions
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/gateway_client.h')
-rw-r--r--net/batman-adv/gateway_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h
index 97c31d178163..1ce8c6066da1 100644
--- a/net/batman-adv/gateway_client.h
+++ b/net/batman-adv/gateway_client.h
@@ -24,7 +24,7 @@
void gw_deselect(struct bat_priv *bat_priv);
void gw_election(struct bat_priv *bat_priv);
-struct orig_node *gw_get_selected(struct bat_priv *bat_priv);
+struct orig_node *gw_get_selected_orig(struct bat_priv *bat_priv);
void gw_check_election(struct bat_priv *bat_priv, struct orig_node *orig_node);
void gw_node_update(struct bat_priv *bat_priv,
struct orig_node *orig_node, uint8_t new_gwflags);