[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <A1F3067C9B68744AA19F6802BAB8FFDC0DD33BA8@TK5EX14MBXC221.redmond.corp.microsoft.com>
Date: Thu, 19 Apr 2012 15:18:41 +0000
From: Haiyang Zhang <haiyangz@...rosoft.com>
To: Wenqi Ma <wenqi_ma@...ndmicro.com.cn>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "davem@...emloft.net" <davem@...emloft.net>,
KY Srinivasan <kys@...rosoft.com>
Subject: RE: [PATCH] net/hyperv: Adding cancellation to ensure rndis filter
is closed
> -----Original Message-----
> From: Wenqi Ma [mailto:wenqi_ma@...ndmicro.com.cn]
> Sent: Thursday, April 19, 2012 6:40 AM
> To: netdev@...r.kernel.org
> Cc: davem@...emloft.net; Haiyang Zhang; Wenqi Ma
> Subject: [PATCH] net/hyperv: Adding cancellation to ensure rndis filter is
> closed
>
> Although the network interface is down, the RX packets number which
> could be observed by ifconfig may keep on increasing.
>
> This is because the WORK scheduled in netvsc_set_multicast_list()
> may be executed after netvsc_close(). That means the rndis filter
> may be re-enabled by do_set_multicast() even if it was closed by
> netvsc_close().
>
> By canceling possible WORK before close the rndis filter, the issue
> could be never happened.
>
> Signed-off-by: Wenqi Ma <wenqi_ma@...ndmicro.com.cn>
> Reviewed-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
> ---
> drivers/net/hyperv/netvsc_drv.c | 38 ++++++++++++++--------------------
> ----
> 1 files changed, 14 insertions(+), 24 deletions(-)
Thank you for the patch.
Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists