summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2017-03-21 13:57:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-20 15:18:41 +0300
commit28aafa8aa24648fd8a1a67962187b5a7a5e373c4 (patch)
tree5f7b11fbc0aeac6dfb4ac5bb7c7c9fec514b4bfe /net
parentf88282f6669777027e45ff1417967914e3965d82 (diff)
downloadlinux-28aafa8aa24648fd8a1a67962187b5a7a5e373c4.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 'net')
0 files changed, 0 insertions, 0 deletions