aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/unicast.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-05-12 07:48:54 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-06-24 12:41:41 -0400
commite5d89254bf763da35b42a3c65289c9962f7240c2 (patch)
tree1e981f14fc7d386e4f848e7fbf822f9a773fc2ed /net/batman-adv/unicast.c
parent9b4a1159dff76f938aa64f7000621552e4d9ad18 (diff)
batman-adv: Prefix hard-interface 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/unicast.c')
-rw-r--r--net/batman-adv/unicast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/unicast.c b/net/batman-adv/unicast.c
index b2b76df69607..fff34e05a5d9 100644
--- a/net/batman-adv/unicast.c
+++ b/net/batman-adv/unicast.c
@@ -227,7 +227,7 @@ int batadv_frag_send_skb(struct sk_buff *skb, struct bat_priv *bat_priv,
227 int large_tail = 0, ret = NET_RX_DROP; 227 int large_tail = 0, ret = NET_RX_DROP;
228 uint16_t seqno; 228 uint16_t seqno;
229 229
230 primary_if = primary_if_get_selected(bat_priv); 230 primary_if = batadv_primary_if_get_selected(bat_priv);
231 if (!primary_if) 231 if (!primary_if)
232 goto dropped; 232 goto dropped;
233 233
@@ -277,7 +277,7 @@ dropped:
277 kfree_skb(skb); 277 kfree_skb(skb);
278out: 278out:
279 if (primary_if) 279 if (primary_if)
280 hardif_free_ref(primary_if); 280 batadv_hardif_free_ref(primary_if);
281 return ret; 281 return ret;
282} 282}
283 283