Merge tag 'blackfin-for-linus' of http://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / net / batman-adv / distributed-arp-table.c
index aa5d4946d0d784d32fdcdce217c4f2bb482502f0..f2c066b2171640c4092a60bc6fc8ef603baa5c09 100644 (file)
@@ -594,7 +594,7 @@ static bool batadv_dat_send_data(struct batadv_priv *bat_priv,
                if (!neigh_node)
                        goto free_orig;
 
-               tmp_skb = pskb_copy(skb, GFP_ATOMIC);
+               tmp_skb = pskb_copy_for_clone(skb, GFP_ATOMIC);
                if (!batadv_send_skb_prepare_unicast_4addr(bat_priv, tmp_skb,
                                                           cand[i].orig_node,
                                                           packet_subtype)) {
@@ -662,6 +662,7 @@ static void batadv_dat_tvlv_container_update(struct batadv_priv *bat_priv)
 void batadv_dat_status_update(struct net_device *net_dev)
 {
        struct batadv_priv *bat_priv = netdev_priv(net_dev);
+
        batadv_dat_tvlv_container_update(bat_priv);
 }