diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2017-03-21 10:57:05 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-20 12:28:38 (GMT) |
commit | 9ae6b33dcbb48f82857d5765fcad429961f8f46c (patch) | |
tree | bb6a7aae591ca5efe1d4ee12b23b5e6ca8818966 /drivers/infiniband/hw/mlx4/mcg.c | |
parent | d20bfe223d3e63bb42aa581d779a1f8074b0c287 (diff) | |
download | linux-9ae6b33dcbb48f82857d5765fcad429961f8f46c.tar.xz |
IB/mlx4: Fix ib device initialization error flow
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.
Fixes: e605b743f33d ("IB/mlx4: Increase the number of vectors (EQs) available for ULPs")
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mcg.c')
0 files changed, 0 insertions, 0 deletions