[<prev] [next>] [day] [month] [year] [list]
Message-ID: <BN3PR03MB22410ABC136E974396BD8BA4C4420@BN3PR03MB2241.namprd03.prod.outlook.com>
Date: Wed, 8 Feb 2017 22:06:57 +0000
From: Simon Xiao <sixiao@...rosoft.com>
To: Simon Xiao <sixiao@...rosoft.com>,
KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/1] hv_netvsc: fix a netvsc stats typo
Please ignore this patch. I will resubmit it to net-next.
> -----Original Message-----
> From: Simon Xiao [mailto:sixiao@...rosoft.com]
> Sent: Tuesday, February 7, 2017 10:03 AM
> To: KY Srinivasan <kys@...rosoft.com>; Haiyang Zhang
> <haiyangz@...rosoft.com>; Stephen Hemminger
> <sthemmin@...rosoft.com>; devel@...uxdriverproject.org;
> netdev@...r.kernel.org; linux-kernel@...r.kernel.org
> Cc: Simon Xiao <sixiao@...rosoft.com>
> Subject: [PATCH 1/1] hv_netvsc: fix a netvsc stats typo
>
> [This sender failed our fraud detection checks and may not be who they
> appear to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]
>
> Now, return the correct tx_errors stats in netvsc.
>
> Signed-off-by: Simon Xiao <sixiao@...rosoft.com>
> Reviewed-by: Haiyang Zhang <haiyangz@...rosoft.com>
> ---
> drivers/net/hyperv/netvsc_drv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/hyperv/netvsc_drv.c
> b/drivers/net/hyperv/netvsc_drv.c
> index 72b0c1f..725ac19 100644
> --- a/drivers/net/hyperv/netvsc_drv.c
> +++ b/drivers/net/hyperv/netvsc_drv.c
> @@ -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;
> --
> 2.7.4
Powered by blists - more mailing lists