]> git.baikalelectronics.ru Git - kernel.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)
commit54bb49f5f040947ac34514d5eab52332e3274c0c
tree1ca9b98013bdc515ce1ee633a72201bcbba5fb24
parentf9bb4b753eb00c02014e4467a28609f4f6ac7f88
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: bc2baaf28c1c ("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