]> 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)
commitdeb5188ac6ca962eb565e6aaa8977366851b2df0
tree1ca9b98013bdc515ce1ee633a72201bcbba5fb24
parentd6952d4b95d3a6897fcea7446c97f59f8d24556b
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: 3807eedf7471 ("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