]> 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)
commitb3ad3b718aa06d93de58f4f7c675aad23123cf58
tree2a4f98ccc66796cca6e6467d6889f3c33424711b
parenta2be6a3362de7e931638aa404b25596924bab859
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: 30a734dfed91 ("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