Re: [PATCH RESEND] mlx4: Fix tx ring affinity_mask creation

From: David Miller
Date: Wed Apr 29 2015 - 15:17:34 EST


From: Benjamin Poirier <bpoirier@xxxxxxx>
Date: Tue, 28 Apr 2015 14:49:29 -0700

> By default, the number of tx queues is limited by the number of online cpus
> in mlx4_en_get_profile(). However, this limit no longer holds after the
> ethtool .set_channels method has been called. In that situation, the driver
> may access invalid bits of certain cpumask variables when queue_index >=
> nr_cpu_ids.
>
> Signed-off-by: Benjamin Poirier <bpoirier@xxxxxxx>
> Acked-by: Ido Shamay <idos@xxxxxxxxxxxx>
> Fixes: d03a68f ("net/mlx4_en: Configure the XPS queue mapping on driver load")

Applied and queue up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/