]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: Fix the channel limit in netvsc_set_rxfh()
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 1 Sep 2017 21:30:07 +0000 (14:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Sep 2017 03:39:12 +0000 (20:39 -0700)
commit5dfcb7bd609492bde1a3be34ba535d79ac1f8a87
treefa525e286dd48dcbeab6407a1c39aaa5dad6cc5a
parente340481df245fd076b875c28e9a22ade9a525879
hv_netvsc: Fix the channel limit in netvsc_set_rxfh()

The limit of setting receive indirection table value should be
the current number of channels, not the VRSS_CHANNEL_MAX.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c