diff options
author | Wenqi Ma <wenqi_ma@trendmicro.com.cn> | 2012-04-19 00:39:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-21 15:38:10 -0400 |
commit | 792df87228965c58c307877af00498641584bd47 (patch) | |
tree | 50a3f378d461b209d24db1bc83b655ce2359af8c /drivers/net/ethernet/micrel | |
parent | c5a99937a9cf74a623384023201a7d98b51e7e3b (diff) | |
download | blackbird-op-linux-792df87228965c58c307877af00498641584bd47.tar.gz blackbird-op-linux-792df87228965c58c307877af00498641584bd47.zip |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/micrel')
0 files changed, 0 insertions, 0 deletions