]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/net/virtio_net.c
Merge branch 'acpi-processor'
[mirror_ubuntu-jammy-kernel.git] / drivers / net / virtio_net.c
index fb0eae42bf398c977fec8f2c4f59d74e5d9b4394..49d84e54034338ad230183eb9c414c5802c2944f 100644 (file)
@@ -260,7 +260,7 @@ static struct sk_buff *page_to_skb(struct virtnet_info *vi,
        p = page_address(page) + offset;
 
        /* copy small packet so we can reuse these pages for small data */
-       skb = netdev_alloc_skb_ip_align(vi->dev, GOOD_COPY_LEN);
+       skb = napi_alloc_skb(&rq->napi, GOOD_COPY_LEN);
        if (unlikely(!skb))
                return NULL;