netvsc: fix typo on statistics
Return the correct tx_errors stats in netvsc. Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Simon Xiao <sixiao@microsoft.com> Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									025331df34
								
							
						
					
					
						commit
						b5124720ed
					
				| @ -920,7 +920,7 @@ static void netvsc_get_stats64(struct net_device *net, | ||||
| 	} | ||||
| 
 | ||||
| 	t->tx_dropped	= net->stats.tx_dropped; | ||||
| 	t->tx_errors	= net->stats.tx_dropped; | ||||
| 	t->tx_errors	= net->stats.tx_errors; | ||||
| 
 | ||||
| 	t->rx_dropped	= net->stats.rx_dropped; | ||||
| 	t->rx_errors	= net->stats.rx_errors; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user