]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.14 network patch fix
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Sep 2015 14:05:12 +0000 (07:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Sep 2015 14:05:12 +0000 (07:05 -0700)
queue-3.14/net-mlx4_core-fix-wrong-index-in-propagating-port-change-event-to-vfs.patch

index 451dd6258dac78651533d4e2fcf31bc4d111500b..f03445548928d26bd400d9a9e27a5536cd8441b4 100644 (file)
@@ -39,7 +39,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                                                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;
++                                              s_info = &priv->mfunc.master.vf_oper[i].vport[port].state;
                                                if (IFLA_VF_LINK_STATE_AUTO == s_info->link_state)
                                                        mlx4_slave_event(dev, i, eqe);
                                        }