From: David Miller <davem@davemloft.net>
To: haiyangz@microsoft.com
Cc: wenqi_ma@trendmicro.com.cn, netdev@vger.kernel.org, kys@microsoft.com
Subject: Re: [PATCH] net/hyperv: Adding cancellation to ensure rndis filter is closed
Date: Sat, 21 Apr 2012 15:38:34 -0400 (EDT) [thread overview]
Message-ID: <20120421.153834.2113475722956246267.davem@davemloft.net> (raw)
In-Reply-To: <A1F3067C9B68744AA19F6802BAB8FFDC0DD33BA8@TK5EX14MBXC221.redmond.corp.microsoft.com>
From: Haiyang Zhang <haiyangz@microsoft.com>
Date: Thu, 19 Apr 2012 15:18:41 +0000
>> From: Wenqi Ma [mailto:wenqi_ma@trendmicro.com.cn]
>> Sent: Thursday, April 19, 2012 6:40 AM
>> To: netdev@vger.kernel.org
>> Cc: davem@davemloft.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@trendmicro.com.cn>
>> Reviewed-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
...
> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Applied.
prev parent reply other threads:[~2012-04-21 19:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 10:39 [PATCH] net/hyperv: Adding cancellation to ensure rndis filter is closed Wenqi Ma
2012-04-19 15:18 ` Haiyang Zhang
2012-04-21 19:38 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120421.153834.2113475722956246267.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=haiyangz@microsoft.com \
--cc=kys@microsoft.com \
--cc=netdev@vger.kernel.org \
--cc=wenqi_ma@trendmicro.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).