]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/ethernet/sun/sunhme.c
netdev: ethernet dev_alloc_skb to netdev_alloc_skb
[mirror_ubuntu-artful-kernel.git] / drivers / net / ethernet / sun / sunhme.c
index 09c518655db2bcc36ffca85518325a6af3358ecf..8b627e2f798d42e3ce6c4953ace642d1ee2f6c7e 100644 (file)
@@ -2043,7 +2043,7 @@ static void happy_meal_rx(struct happy_meal *hp, struct net_device *dev)
                        /* Trim the original skb for the netif. */
                        skb_trim(skb, len);
                } else {
-                       struct sk_buff *copy_skb = dev_alloc_skb(len + 2);
+                       struct sk_buff *copy_skb = netdev_alloc_skb(dev, len + 2);
 
                        if (copy_skb == NULL) {
                                drops++;