batman-adv: prepare for const netdev->dev_addr
[sfrench/cifs-2.6.git] / net / batman-adv / routing.c
index 970d0d7ccc981ac2b1c7423ece924687f98baae3..83f31494ea4d927b383ca0a8c6911e60a9a9c962 100644 (file)
@@ -747,7 +747,8 @@ batadv_reroute_unicast_packet(struct batadv_priv *bat_priv, struct sk_buff *skb,
        struct batadv_orig_node *orig_node = NULL;
        struct batadv_hard_iface *primary_if = NULL;
        bool ret = false;
-       u8 *orig_addr, orig_ttvn;
+       const u8 *orig_addr;
+       u8 orig_ttvn;
 
        if (batadv_is_my_client(bat_priv, dst_addr, vid)) {
                primary_if = batadv_primary_if_get_selected(bat_priv);