Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39778
b: refs/heads/master
c: b6d7773
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger committed Oct 17, 2006
1 parent b6fdada commit 3588c69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 16ad91e1c686734aaa5664cd08af0b5e9bf3af61
refs/heads/master: b6d7773462df13c105c19ab89706687ded839844
6 changes: 4 additions & 2 deletions trunk/drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2014,6 +2014,10 @@ static struct sk_buff *sky2_receive(struct net_device *dev,

error:
++sky2->net_stats.rx_errors;
if (status & GMR_FS_RX_FF_OV) {
sky2->net_stats.rx_fifo_errors++;
goto resubmit;
}

if (netif_msg_rx_err(sky2) && net_ratelimit())
printk(KERN_INFO PFX "%s: rx error, status 0x%x length %d\n",
Expand All @@ -2025,8 +2029,6 @@ static struct sk_buff *sky2_receive(struct net_device *dev,
sky2->net_stats.rx_frame_errors++;
if (status & GMR_FS_CRC_ERR)
sky2->net_stats.rx_crc_errors++;
if (status & GMR_FS_RX_FF_OV)
sky2->net_stats.rx_fifo_errors++;

goto resubmit;
}
Expand Down

0 comments on commit 3588c69

Please sign in to comment.