From: Yevgeny Petrilin Date: Sun, 6 Sep 2009 03:24:49 +0000 (-0700) Subject: mlx4_core: Avoid double free_icms X-Git-Tag: v2.6.32-rc1~736^2~1^6~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1af92e2a211b0d46ef60ea9f30f989fd7b5725fa;p=pandora-kernel.git mlx4_core: Avoid double free_icms On the error path of mlx4_init_hca(), mlx4_close_hca() is called, followed by mlx4_free_icms() and mlx4_UNMAP_FA(). But both those functions are also called from mlx4_close_hca(), which leads to a double free. Signed-off-by: Yevgeny Petrilin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed