aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ixgb/ixgb_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index d1fc431cb1c9..d7a0f4e36118 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -1524,7 +1524,8 @@ ixgb_update_stats(struct ixgb_adapter *adapter)
1524 1524
1525 multi |= ((u64)IXGB_READ_REG(&adapter->hw, MPRCH) << 32); 1525 multi |= ((u64)IXGB_READ_REG(&adapter->hw, MPRCH) << 32);
1526 /* fix up multicast stats by removing broadcasts */ 1526 /* fix up multicast stats by removing broadcasts */
1527 multi -= bcast; 1527 if(multi >= bcast)
1528 multi -= bcast;
1528 1529
1529 adapter->stats.mprcl += (multi & 0xFFFFFFFF); 1530 adapter->stats.mprcl += (multi & 0xFFFFFFFF);
1530 adapter->stats.mprch += (multi >> 32); 1531 adapter->stats.mprch += (multi >> 32);