[WSD] Remove socket from connection map upon connection
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 18 Apr 2006 22:17:35 +0000 (22:17 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 18 Apr 2006 22:17:35 +0000 (22:17 +0000)
failure for duplicating sockets.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@314 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/wsd/user/ib_cm.c

index b77376a..d620fa5 100644 (file)
@@ -454,6 +454,7 @@ cm_rej_callback(
        case IBSP_DUPLICATING_NEW:\r
                /* Leave in that state. IBSPSocket will eventually return \r
                 * an error becaus the socket is not connected. */\r
+               ibsp_conn_remove( socket_info );\r
                SetEvent( socket_info->h_event );\r
                break;\r
 \r