hv_netvsc: Fix ethtool change hash key error
authorHaiyang Zhang <haiyangz@microsoft.com>
Tue, 15 Jan 2019 00:51:42 +0000 (00:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2019 16:58:50 +0000 (17:58 +0100)
commit51b547f2a44570475846ceeb3c21f35424efb370
tree38718dc82bc2705741e8b9957f8a018f2401e982
parentad74456b500c0f0009fa444311ce84dcf85a41d6
hv_netvsc: Fix ethtool change hash key error

[ Upstream commit b4a10c750424e01b5e37372fef0a574ebf7b56c3 ]

Hyper-V hosts require us to disable RSS before changing RSS key,
otherwise the changing request will fail. This patch fixes the
coding error.

Fixes: ff4a44199012 ("netvsc: allow get/set of RSS indirection table")
Reported-by: Wei Hu <weh@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
[sl: fix up subject line]
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/hyperv/rndis_filter.c