lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ