Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290051
b: refs/heads/master
c: 7280f5a
h: refs/heads/master
i:
  290049: e957018
  290047: 25ab84a
v: v3
  • Loading branch information
David S. Miller committed Feb 7, 2012
1 parent dd3d220 commit b7fa525
Show file tree
Hide file tree
Showing 2 changed files with 2 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: af2ce213f6e6b28497c5c932f43b94026b5a0363
refs/heads/master: 7280f5ae0d71f2259a42d1f7603480809e4867fb
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/natsemi/sonic.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ static void sonic_rx(struct net_device *dev)
status = sonic_rda_get(dev, entry, SONIC_RD_STATUS);
if (status & SONIC_RCR_PRX) {
/* Malloc up new buffer. */
new_skb = netdev_alloc_skb(SONIC_RBSIZE + 2);
new_skb = netdev_alloc_skb(dev, SONIC_RBSIZE + 2);
if (new_skb == NULL) {
printk(KERN_ERR "%s: Memory squeeze, dropping packet.\n", dev->name);
lp->stats.rx_dropped++;
Expand Down

0 comments on commit b7fa525

Please sign in to comment.