Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56552
b: refs/heads/master
c: 9873940
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Jeff Garzik committed May 18, 2007
1 parent 275db3b commit 70b2841
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: 3b6330ce2a3e1f152f79a6203f73d23356e243a7
refs/heads/master: 98739407c529899820135b1fba87ccd1a411edda
3 changes: 2 additions & 1 deletion trunk/drivers/net/spider_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@ spider_net_prepare_rx_descr(struct spider_net_card *card,
/* and we need to have it 128 byte aligned, therefore we allocate a
* bit more */
/* allocate an skb */
descr->skb = dev_alloc_skb(bufsize + SPIDER_NET_RXBUF_ALIGN - 1);
descr->skb = netdev_alloc_skb(card->netdev,
bufsize + SPIDER_NET_RXBUF_ALIGN - 1);
if (!descr->skb) {
if (netif_msg_rx_err(card) && net_ratelimit())
pr_err("Not enough memory to allocate rx buffer\n");
Expand Down

0 comments on commit 70b2841

Please sign in to comment.