]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: change GPAD teardown order on older versions
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 20 Mar 2018 22:03:04 +0000 (15:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2018 16:45:09 +0000 (12:45 -0400)
commit1e036cd3c68e70f50999feba05cc8f22cdd2ae69
tree2a4f98ccc66796cca6e6467d6889f3c33424711b
parent706e505dfcc6e04b217347e5dce49b1bbf658fef
hv_netvsc: change GPAD teardown order on older versions

On older versions of Windows, the host ignores messages after
vmbus channel is closed.

Workaround this by doing what Windows does and send the teardown
before close on older versions of NVSP protocol.

Reported-by: Mohammed Gamal <mgamal@redhat.com>
Fixes: 72015cb82e5a ("hv_netvsc: netvsc_teardown_gpadl() split")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c