aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bridge_loop_avoidance.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-05-12 07:48:56 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-06-24 12:41:41 -0400
commitda641193dd3117ccd408dc589a131f16286b0da0 (patch)
treeb819cd7c61837e6c7c889e76fb9a38f6c83d4f54 /net/batman-adv/bridge_loop_avoidance.c
parentc0a559295eb2601602f7dc88f4240afcd666f73a (diff)
batman-adv: Prefix originator static inline functions with batadv_
All non-static symbols of batman-adv were prefixed with batadv_ to avoid collisions with other symbols of the kernel. Other symbols of batman-adv should use the same prefix to keep the naming scheme consistent. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/bridge_loop_avoidance.c')
-rw-r--r--net/batman-adv/bridge_loop_avoidance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c
index 7a2dfd41d5c8..1d143d5bb53e 100644
--- a/net/batman-adv/bridge_loop_avoidance.c
+++ b/net/batman-adv/bridge_loop_avoidance.c
@@ -390,7 +390,7 @@ static struct backbone_gw *bla_get_backbone_gw(struct bat_priv *bat_priv,
390 } 390 }
391 391
392 /* this is a gateway now, remove any tt entries */ 392 /* this is a gateway now, remove any tt entries */
393 orig_node = orig_hash_find(bat_priv, orig); 393 orig_node = batadv_orig_hash_find(bat_priv, orig);
394 if (orig_node) { 394 if (orig_node) {
395 batadv_tt_global_del_orig(bat_priv, orig_node, 395 batadv_tt_global_del_orig(bat_priv, orig_node,
396 "became a backbone gateway"); 396 "became a backbone gateway");
@@ -780,7 +780,7 @@ static int check_claim_group(struct bat_priv *bat_priv,
780 return 2; 780 return 2;
781 781
782 /* lets see if this originator is in our mesh */ 782 /* lets see if this originator is in our mesh */
783 orig_node = orig_hash_find(bat_priv, backbone_addr); 783 orig_node = batadv_orig_hash_find(bat_priv, backbone_addr);
784 784
785 /* dont accept claims from gateways which are not in 785 /* dont accept claims from gateways which are not in
786 * the same mesh or group. 786 * the same mesh or group.