Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134421
b: refs/heads/master
c: e4e90b2
h: refs/heads/master
i:
  134419: 9686f09
v: v3
  • Loading branch information
David S. Miller committed Feb 10, 2009
1 parent 38c3052 commit 8972c78
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: 9034f77bad1e86c4b43e5f5739eb3b8f4878e947
refs/heads/master: e4e90b210dbe8253aaf519ee6efaaab7b2b92034
3 changes: 2 additions & 1 deletion trunk/drivers/net/irda/sir_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,8 @@ static int sirdev_alloc_buffers(struct sir_dev *dev)
dev->rx_buff.truesize = IRDA_SKB_MAX_MTU;

/* Bootstrap ZeroCopy Rx */
dev->rx_buff.skb = __dev_alloc_skb(dev->rx_buff.truesize, GFP_KERNEL);
dev->rx_buff.skb = __netdev_alloc_skb(dev->netdev, dev->rx_buff.truesize,
GFP_KERNEL);
if (dev->rx_buff.skb == NULL)
return -ENOMEM;
skb_reserve(dev->rx_buff.skb, 1);
Expand Down

0 comments on commit 8972c78

Please sign in to comment.