summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/mcg.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2017-03-21 12:57:05 +0200
committerDoug Ledford <dledford@redhat.com>2017-04-21 12:26:05 -0400
commit99e68909d5aba1861897fe7afc3306c3c81b6de0 (patch)
tree88a910559d1332805bbee1d0fe7d50a37f793528 /drivers/infiniband/hw/mlx4/mcg.c
parentdd77abf8a03a1ebd4dd3ddebecce312dcb0d1af1 (diff)
downloadlinux-stable-99e68909d5aba1861897fe7afc3306c3c81b6de0.tar.gz
linux-stable-99e68909d5aba1861897fe7afc3306c3c81b6de0.tar.bz2
linux-stable-99e68909d5aba1861897fe7afc3306c3c81b6de0.zip
IB/mlx4: Fix ib device initialization error flow
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") Cc: <stable@vger.kernel.org> # v3.4+ 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>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mcg.c')
0 files changed, 0 insertions, 0 deletions