Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279489
b: refs/heads/master
c: 3464645
h: refs/heads/master
i:
  279487: 53500ba
v: v3
  • Loading branch information
Mike Waychison authored and David S. Miller committed Jan 5, 2012
1 parent 558744b commit 68a0027
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea81875ae07aeaca285afd2771425f771294c93c
refs/heads/master: 3464645a10f80ce39bc90c5494a3e92387947818
3 changes: 2 additions & 1 deletion trunk/drivers/net/virtio_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ static void set_skb_frag(struct sk_buff *skb, struct page *page,
*len -= size;
}

/* Called from bottom half context */
static struct sk_buff *page_to_skb(struct virtnet_info *vi,
struct page *page, unsigned int len)
{
Expand Down Expand Up @@ -358,7 +359,7 @@ static int add_recvbuf_small(struct virtnet_info *vi, gfp_t gfp)
struct skb_vnet_hdr *hdr;
int err;

skb = netdev_alloc_skb_ip_align(vi->dev, MAX_PACKET_LEN);
skb = __netdev_alloc_skb_ip_align(vi->dev, MAX_PACKET_LEN, gfp);
if (unlikely(!skb))
return -ENOMEM;

Expand Down

0 comments on commit 68a0027

Please sign in to comment.