This is a note to let you know that I've just added the patch titled
net/mlx4_core: Fix call to __mlx4_unregister_mac
to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
net-mlx4_core-fix-call-to-__mlx4_unregister_mac.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From d6de8d2b18605c5a5f01cf001bce1bf6ef8765fe Mon Sep 17 00:00:00 2001
From: Jack Morgenstein <[email protected]>
Date: Sun, 3 Nov 2013 10:04:07 +0200
Subject: net/mlx4_core: Fix call to __mlx4_unregister_mac
From: Jack Morgenstein <[email protected]>
[ Upstream commit c32b7dfbb1dfb3f0a68f250deff65103c8bb704a ]
In function mlx4_master_deactivate_admin_state() __mlx4_unregister_mac was
called using the MAC index. It should be called with the value of the MAC
itself.
Signed-off-by: Jack Morgenstein <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/net/ethernet/mellanox/mlx4/cmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/ethernet/mellanox/mlx4/cmd.c
+++ b/drivers/net/ethernet/mellanox/mlx4/cmd.c
@@ -1544,7 +1544,7 @@ static void mlx4_master_deactivate_admin
vp_oper->vlan_idx = NO_INDX;
}
if (NO_INDX != vp_oper->mac_idx) {
- __mlx4_unregister_mac(&priv->dev, port,
vp_oper->mac_idx);
+ __mlx4_unregister_mac(&priv->dev, port,
vp_oper->state.mac);
vp_oper->mac_idx = NO_INDX;
}
}
Patches currently in stable-queue which might be from [email protected]
are
queue-3.10/net-mlx4_core-fix-call-to-__mlx4_unregister_mac.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html