1
1
openmpi/ompi/mca/btl/openib
Mike Dubman b0e64427a9 ompi/mca/btl/openib: Fix memory leak and accessing free'd memory issues
Let imagine that we have two btls in btl_openib_component_init() both points to the same openib_btl->device and as a result have the same openib_btl->device->endpoints array.

Finalization phase calls twice mca_btl_openib_finalize()->mca_btl_openib_finalize_resources().
mca_btl_openib_finalize_resources() frees endpoint related btl. But the second call of mca_btl_openib_finalize_resources() checks endpoint that is released by previus call.

fixed by Igor, reviewed by miked/vasily
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r29563.
2013-10-30 11:47:49 +00:00
..
connect Always check the return of [mc]alloc and fix a warning introduced by 2013-10-28 20:04:49 +00:00
btl_openib_async.c Add header file for opal_show_help(). 2013-02-13 16:31:59 +00:00
btl_openib_async.h Adds synchronisation between main thread and service thread in 2012-08-16 03:56:21 +00:00
btl_openib_component.c Always check the return of [mc]alloc and fix a warning introduced by 2013-10-28 20:04:49 +00:00
btl_openib_eager_rdma.h - Replace combinations of 2009-08-20 11:42:18 +00:00
btl_openib_endpoint.c This has bothered me for a while. Change MCA_BTL_TAG_BTL to MCA_BTL_TAG_IB. They are the same 2013-08-30 14:53:59 +00:00
btl_openib_endpoint.h rename ompi_free_list operations to _mt, as per discussions at last face to face meeting 2013-07-08 22:07:52 +00:00
btl_openib_failover.c This has bothered me for a while. Change MCA_BTL_TAG_BTL to MCA_BTL_TAG_IB. They are the same 2013-08-30 14:53:59 +00:00
btl_openib_failover.h Add byte swapping macro for failover control message per jsquyres review. 2011-01-19 19:58:35 +00:00
btl_openib_fd.c Fix a C/R bug where the restart hung due to 2012-03-04 06:57:33 +00:00
btl_openib_fd.h Removing trailing white spaces in all the openib btl code. 2011-07-04 14:00:41 +00:00
btl_openib_frag.c Performance optimizations by alexm: 2012-12-26 10:19:12 +00:00
btl_openib_frag.h rename ompi_free_list operations to _mt, as per discussions at last face to face meeting 2013-07-08 22:07:52 +00:00
btl_openib_ini.c Refs trac:3626: that ticket specifically refers to the v1.6 branch; this 2013-06-05 12:12:09 +00:00
btl_openib_ini.h Refs trac:3626: that ticket specifically refers to the v1.6 branch; this 2013-06-05 12:12:09 +00:00
btl_openib_ip.c Add header file for opal_show_help(). 2013-02-13 16:31:59 +00:00
btl_openib_ip.h Removing trailing white spaces in all the openib btl code. 2011-07-04 14:00:41 +00:00
btl_openib_lex.h add prototypes for lex destroy functions 2012-11-09 22:00:27 +00:00
btl_openib_lex.l Re-add support for old flex (2.5.4a and earlier) while still cleaning up properly in new flex. 2012-12-07 00:12:43 +00:00
btl_openib_mca.c Add support for routable ROCE where different subnet_id is a valid to proceed with MPI routing. 2013-10-23 06:08:54 +00:00
btl_openib_mca.h MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
btl_openib_proc.c Move the RTE framework change into the trunk. With this change, all non-CR 2013-01-27 23:25:10 +00:00
btl_openib_proc.h Removing trailing white spaces in all the openib btl code. 2011-07-04 14:00:41 +00:00
btl_openib_xrc.c Move the RTE framework change into the trunk. With this change, all non-CR 2013-01-27 23:25:10 +00:00
btl_openib_xrc.h Move the RTE framework change into the trunk. With this change, all non-CR 2013-01-27 23:25:10 +00:00
btl_openib.c ompi/mca/btl/openib: Fix memory leak and accessing free'd memory issues 2013-10-30 11:47:49 +00:00
btl_openib.h Always check the return of [mc]alloc and fix a warning introduced by 2013-10-28 20:04:49 +00:00
btl-openib-benchmark * Added 2 new MCA parameters 2007-03-01 13:39:20 +00:00
configure.m4 Move CUDA-aware configurary to its own file and other minor changes due to review. 2013-07-17 22:12:29 +00:00
help-mpi-btl-openib.txt Refs trac:3626: that ticket specifically refers to the v1.6 branch; this 2013-06-05 12:12:09 +00:00
Makefile.am First cut at removing the native Windows support. Remove all the Windows-specific components, and the .windows files sprinkled around. Remove the Windows platform files and MTT scripts. Update the NEWS to point Windows users to the cygwin package. 2013-02-26 20:44:56 +00:00
mca-btl-openib-device-params.ini support for ConnectX3-Pro card. cmr:v1.7:reviewer=jsquyres cmr:v1.6:reviewer=jsquyres 2013-07-14 06:44:19 +00:00