[ofa-general] [PATCH 1/1] libsdp - Fix for threaded connect/disconnect bug
Jim Mott
jim at mellanox.com
Fri Feb 15 14:51:36 PST 2008
A Mellanox regression test detected an error in libsdp when
multiple threads are opening and closing many SDP sockets
using the 'both' attribute.
Signed-off-by: Jim Mott <jim at mellanox.com>
---
Index: ofa_1_3_dev_user/src/userspace/libsdp/src/port.c
===================================================================
--- ofa_1_3_dev_user.orig/src/userspace/libsdp/src/port.c
2008-02-15 00:32:16.000000000 -0600
+++ ofa_1_3_dev_user/src/userspace/libsdp/src/port.c 2008-02-15
17:39:59.000000000 -0600
@@ -1770,8 +1770,8 @@
fd );
}
- ret = _socket_funcs.close( fd );
init_extra_attribute( fd );
+ ret = _socket_funcs.close( fd );
__sdp_log( 2, "CLOSE: <%s:%d:%d> result <%d>\n",
program_invocation_short_name, fd,
shadow_fd, ret );
return ret;
More information about the general
mailing list