aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-05-12 07:48:57 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-06-24 12:41:42 -0400
commitf0530ee5fb9e73465ac844ada2c96a2bea85a18f (patch)
tree4f9dec257b99fac7a0cb9de8841b970858dc1391
parentda641193dd3117ccd408dc589a131f16286b0da0 (diff)
batman-adv: Prefix unicast 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>
-rw-r--r--net/batman-adv/routing.c3
-rw-r--r--net/batman-adv/unicast.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index 0888f1e39fdc..3eb4a2e121a6 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -869,7 +869,8 @@ static int route_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if)
869 } 869 }
870 870
871 if (unicast_packet->header.packet_type == BAT_UNICAST_FRAG && 871 if (unicast_packet->header.packet_type == BAT_UNICAST_FRAG &&
872 frag_can_reassemble(skb, neigh_node->if_incoming->net_dev->mtu)) { 872 batadv_frag_can_reassemble(skb,
873 neigh_node->if_incoming->net_dev->mtu)) {
873 874
874 ret = batadv_frag_reassemble_skb(skb, bat_priv, &new_skb); 875 ret = batadv_frag_reassemble_skb(skb, bat_priv, &new_skb);
875 876
diff --git a/net/batman-adv/unicast.h b/net/batman-adv/unicast.h
index 87f8f89d1440..9257b83534fd 100644
--- a/net/batman-adv/unicast.h
+++ b/net/batman-adv/unicast.h
@@ -33,7 +33,7 @@ int batadv_frag_send_skb(struct sk_buff *skb, struct bat_priv *bat_priv,
33 struct hard_iface *hard_iface, 33 struct hard_iface *hard_iface,
34 const uint8_t dstaddr[]); 34 const uint8_t dstaddr[]);
35 35
36static inline int frag_can_reassemble(const struct sk_buff *skb, int mtu) 36static inline int batadv_frag_can_reassemble(const struct sk_buff *skb, int mtu)
37{ 37{
38 const struct unicast_frag_packet *unicast_packet; 38 const struct unicast_frag_packet *unicast_packet;
39 int uneven_correction = 0; 39 int uneven_correction = 0;