Skip to content
Commit 792df872 authored by Wenqi Ma's avatar Wenqi Ma Committed by David S. Miller
Browse files

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: default avatarWenqi Ma <wenqi_ma@trendmicro.com.cn>
Reviewed-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5a99937
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment