Patch "IB/mlx4: Fix ib device initialization error flow" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
IB/mlx4: Fix ib device initialization error flow
to the 4.4-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:
ib-mlx4-fix-ib-device-initialization-error-flow.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
99e68909d5aba1861897fe7afc3306c3c81b6de0Mon Sep 17 00:00:00 2001
From: Jack Morgenstein <[email protected]>
Date: Tue, 21 Mar 2017 12:57:05 +0200
Subject: IB/mlx4: Fix ib device initialization error flow
From: Jack Morgenstein <[email protected]>
commit 99e68909d5aba1861897fe7afc3306c3c81b6de0 upstream.
In mlx4_ib_add, procedure mlx4_ib_alloc_eqs is called to allocate EQs.
However, in the mlx4_ib_add error flow, procedure mlx4_ib_free_eqs is not called to free the allocated EQs.
--- drivers/infiniband/hw/mlx4/main.c | 1 + 1 file changed, 1 insertion(+)
drivers/infiniband/hw/mlx4/main.c +1 -0
@@ -2491,6 +2491,7 @@ err_counter:mlx4_ib_delete_counters_table (ibdev, &ibdev->counters_table[i]); err_map: +mlx4_ib_free_eqs (dev, ibdev);iounmap (ibdev->uar_map); err_uar:
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/ib-core-fix-sysfs-registration-error-flow.patch queue-4.4/ib-mlx4-fix-ib-device-initialization-error-flow.patch queue-4.4/ib-mlx4-reduce-sriov-multicast-cleanup-warning-message-to-debug-level.patch