[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120421.153834.2113475722956246267.davem@davemloft.net>
Date: Sat, 21 Apr 2012 15:38:34 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: haiyangz@...rosoft.com
Cc: wenqi_ma@...ndmicro.com.cn, netdev@...r.kernel.org,
kys@...rosoft.com
Subject: Re: [PATCH] net/hyperv: Adding cancellation to ensure rndis filter
is closed
From: Haiyang Zhang <haiyangz@...rosoft.com>
Date: Thu, 19 Apr 2012 15:18:41 +0000
>> 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>
...
> Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
Applied.
--
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