ibvw_release_windata should release the WVProvider reference taken in ibvw_acquire_windata.
This fixes a cleanup issue when dynamically loading/unloading librdmacm, which calls these functions. Signed-off-by: Sean Hefty <[email protected]> --- This patch should be added to the 2.2 release trunk/ulp/libibverbs/src/device.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/trunk/ulp/libibverbs/src/device.cpp b/trunk/ulp/libibverbs/src/device.cpp index 1b66d3c..e404be7 100644 --- a/trunk/ulp/libibverbs/src/device.cpp +++ b/trunk/ulp/libibverbs/src/device.cpp @@ -121,6 +121,7 @@ int ibvw_get_windata(struct ibvw_windata *windata, int version) __declspec(dllexport) void ibvw_release_windata(struct ibvw_windata *windata, int version) { + prov->Release(); ibv_release(); } _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
