Commits
![Haiyang Zhang](https://secure.gravatar.com/avatar/121bd6692709f3b9e1fcd0f7e1d3b041.jpg?s=96&d=mm)
Haiyang Zhang committed 9efc2f7dcd0
hv_netvsc: Fix the array sizes to be max supported channels The VRSS_CHANNEL_MAX is the max number of channels supported by Hyper-V hosts. We use it for the related array sizes instead of using NR_CPUS, which may be set to several thousands. This patch reduces possible memory allocation failures. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>