diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2009-09-06 03:24:49 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-06 03:24:49 (GMT) |
commit | 1af92e2a211b0d46ef60ea9f30f989fd7b5725fa (patch) | |
tree | ee52c5a1a7fc3e78b0bd1e4c317f98959b4b7ea7 /net/tipc/ref.c | |
parent | fa0681d2129732027355d6b7083dd8932b9b799d (diff) | |
download | linux-fsl-qoriq-1af92e2a211b0d46ef60ea9f30f989fd7b5725fa.tar.xz |
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 <yevgenyp@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'net/tipc/ref.c')
0 files changed, 0 insertions, 0 deletions