aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/send.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-06-05 16:31:30 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-07-01 16:47:21 -0400
commit96412690116afcc1b2705615b5a7c8dc6c5e905f (patch)
tree0eb2a1a557e2997175b27f3ab925bbdc29ece54d /net/batman-adv/send.c
parentb4d66b877bc21ce907938bfd027dfe016617fac0 (diff)
batman-adv: Prefix packet structs with batadv_
Reported-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/send.c')
-rw-r--r--net/batman-adv/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c
index aad981859688..67c1c6c22f3b 100644
--- a/net/batman-adv/send.c
+++ b/net/batman-adv/send.c
@@ -138,7 +138,7 @@ int batadv_add_bcast_packet_to_list(struct bat_priv *bat_priv,
138{ 138{
139 struct hard_iface *primary_if = NULL; 139 struct hard_iface *primary_if = NULL;
140 struct forw_packet *forw_packet; 140 struct forw_packet *forw_packet;
141 struct bcast_packet *bcast_packet; 141 struct batadv_bcast_packet *bcast_packet;
142 struct sk_buff *newskb; 142 struct sk_buff *newskb;
143 143
144 if (!batadv_atomic_dec_not_zero(&bat_priv->bcast_queue_left)) { 144 if (!batadv_atomic_dec_not_zero(&bat_priv->bcast_queue_left)) {
@@ -161,7 +161,7 @@ int batadv_add_bcast_packet_to_list(struct bat_priv *bat_priv,
161 goto packet_free; 161 goto packet_free;
162 162
163 /* as we have a copy now, it is safe to decrease the TTL */ 163 /* as we have a copy now, it is safe to decrease the TTL */
164 bcast_packet = (struct bcast_packet *)newskb->data; 164 bcast_packet = (struct batadv_bcast_packet *)newskb->data;
165 bcast_packet->header.ttl--; 165 bcast_packet->header.ttl--;
166 166
167 skb_reset_mac_header(newskb); 167 skb_reset_mac_header(newskb);