Hi David,

On Wed, Aug 26, 2015 at 11:05:12PM -0700, David Miller wrote:
> 
> Please queue up the following networking bug fixes for v3.12, v3.14, v3.18,
> and v4.1 -stable, respectively.
> 
> Thanks!

While going through these patches to pick those applicable to the 3.16
kernel, I believe I found an issue with the backport of 1c1bf34951e8
("net/mlx4_core: Fix wrong index in propagating port change event to
VFs") into 3.14.

The 2nd hunk has the following:

@@ -583,7 +583,7 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq 
*eq)
                                        for (i = 0; i < dev->num_slaves; i++) {
                                                if (i == 
mlx4_master_func_num(dev))
                                                        continue;
-                                               s_info = 
&priv->mfunc.master.vf_oper[slave].vport[port].state;
+                                               s_info = 
&priv->mfunc.master.vf_oper[slave].vport[i].state;

It should be:

-                                               s_info = 
&priv->mfunc.master.vf_oper[slave].vport[port].state;
+                                               s_info = 
&priv->mfunc.master.vf_oper[i].vport[port].state;

(the 'slave' index should be changed by 'i', not 'port').

Cheers,
--
Luís
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to