>> + /* Fill out the redirection table */
>> + if (indir) {
>> + /* Verify user input. */
>> + for (i = 0; i < rss_entries; i++)
>> + if (indir[i] >= cfg->num_rss_queues)
>> + return -EINVAL;
>
> nit: you shouldn't have to do this, see ethtool_copy_validate_indir().
> Thanks, Jakub, indeed. Will resubmit. Regards, Igor
