Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300494
b: refs/heads/master
c: e7f8c1f
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Apr 4, 2012
1 parent d216eea commit 18f960e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: bd966e471391d7ee028bf54ac5a2f25415710713
refs/heads/master: e7f8c1fe1705e78f56ca4c8350545ad58d73451a
6 changes: 3 additions & 3 deletions trunk/drivers/net/ethernet/nxp/lpc_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -990,10 +990,10 @@ static int __lpc_handle_recv(struct net_device *ndev, int budget)
ndev->stats.rx_errors++;
} else {
/* Packet is good */
skb = dev_alloc_skb(len + 8);
if (!skb)
skb = dev_alloc_skb(len);
if (!skb) {
ndev->stats.rx_dropped++;
else {
} else {
prdbuf = skb_put(skb, len);

/* Copy packet from buffer */
Expand Down

0 comments on commit 18f960e

Please sign in to comment.