Commit 26cc1675 authored by Haiyang Zhang's avatar Haiyang Zhang Committed by Xie XiuQi
Browse files

hv_netvsc: Fix hash key value reset after other ops



[ Upstream commit 17d91256 ]

Changing mtu, channels, or buffer sizes ops call to netvsc_attach(),
rndis_set_subchannel(), which always reset the hash key to default
value. That will override hash key changed previously. This patch
fixes the problem by save the hash key, then restore it when we re-
add the netvsc device.

Fixes: ff4a4419 ("netvsc: allow get/set of RSS indirection table")
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
[sl: fix up subject line]
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 66dcf9d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment