]> git.ipfire.org Git - thirdparty/linux.git/commit
hv_netvsc: Fix ethtool change hash key error
authorHaiyang Zhang <haiyangz@microsoft.com>
Tue, 15 Jan 2019 00:51:42 +0000 (00:51 +0000)
committerSasha Levin <sashal@kernel.org>
Wed, 23 Jan 2019 18:19:35 +0000 (13:19 -0500)
commitb4a10c750424e01b5e37372fef0a574ebf7b56c3
tree1ca9b98013bdc515ce1ee633a72201bcbba5fb24
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
hv_netvsc: Fix ethtool change hash key error

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