]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: Use Windows version instead of NVSP version on GPAD teardown
authorMohammed Gamal <mgamal@redhat.com>
Thu, 5 Apr 2018 19:09:18 +0000 (21:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Apr 2018 02:21:00 +0000 (22:21 -0400)
commit6fd98b8bbd11a05265783f061c17454811cbeb4d
tree5e1e4b8d32057971d2ad1c473e6fe622b201af25
parent8436c8406281f60e41f1bb6dfd803966109a9238
hv_netvsc: Use Windows version instead of NVSP version on GPAD teardown

When changing network interface settings, Windows guests
older than WS2016 can no longer shutdown. This was addressed
by commit b3ad3b718aa06 ("hv_netvsc: change GPAD teardown order
on older versions"), however the issue also occurs on WS2012
guests that share NVSP protocol versions with WS2016 guests.
Hence we use Windows version directly to differentiate them.

Fixes: b3ad3b718aa06 ("hv_netvsc: change GPAD teardown order on older versions")
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c