aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r--drivers/net/sky2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index b8f202169a75..6eddd0f36bc0 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -2014,6 +2014,10 @@ oversize:
2014 2014
2015error: 2015error:
2016 ++sky2->net_stats.rx_errors; 2016 ++sky2->net_stats.rx_errors;
2017 if (status & GMR_FS_RX_FF_OV) {
2018 sky2->net_stats.rx_fifo_errors++;
2019 goto resubmit;
2020 }
2017 2021
2018 if (netif_msg_rx_err(sky2) && net_ratelimit()) 2022 if (netif_msg_rx_err(sky2) && net_ratelimit())
2019 printk(KERN_INFO PFX "%s: rx error, status 0x%x length %d\n", 2023 printk(KERN_INFO PFX "%s: rx error, status 0x%x length %d\n",
@@ -2025,8 +2029,6 @@ error:
2025 sky2->net_stats.rx_frame_errors++; 2029 sky2->net_stats.rx_frame_errors++;
2026 if (status & GMR_FS_CRC_ERR) 2030 if (status & GMR_FS_CRC_ERR)
2027 sky2->net_stats.rx_crc_errors++; 2031 sky2->net_stats.rx_crc_errors++;
2028 if (status & GMR_FS_RX_FF_OV)
2029 sky2->net_stats.rx_fifo_errors++;
2030 2032
2031 goto resubmit; 2033 goto resubmit;
2032} 2034}