Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[linux-2.6-microblaze.git] / net / ipv4 / ipmr.c
index 440294b..6e68def 100644 (file)
@@ -2291,7 +2291,8 @@ int ipmr_get_route(struct net *net, struct sk_buff *skb,
                        rcu_read_unlock();
                        return -ENODEV;
                }
-               skb2 = skb_clone(skb, GFP_ATOMIC);
+
+               skb2 = skb_realloc_headroom(skb, sizeof(struct iphdr));
                if (!skb2) {
                        read_unlock(&mrt_lock);
                        rcu_read_unlock();