[PATCH hyperv-fixes, 3/3] Fix hash key value reset after other ops

Michael Kelley mikelley at microsoft.com
Sat Jan 19 01:14:25 UTC 2019


From: Haiyang Zhang <haiyangz at microsoft.com> Sent: Monday, January 14, 2019 4:52 PM
> 
> 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: ff4a44199012 ("netvsc: allow get/set of RSS indirection table")
> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
> ---
>  drivers/net/hyperv/hyperv_net.h   | 10 +++++++---
>  drivers/net/hyperv/netvsc.c       |  2 +-
>  drivers/net/hyperv/netvsc_drv.c   |  5 ++++-
>  drivers/net/hyperv/rndis_filter.c |  9 +++++++--
>  4 files changed, 19 insertions(+), 7 deletions(-)
> 
Reviewed-by: Michael Kelley <mikelley at microsoft.com>


More information about the devel mailing list