diff options
Diffstat (limited to 'net/batman-adv/send.c')
-rw-r--r-- | net/batman-adv/send.c | 4 |
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); |