[IBAL] Fix listen processing to fail a generic listen if a more
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 6 Dec 2005 22:32:00 +0000 (22:32 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 6 Dec 2005 22:32:00 +0000 (22:32 +0000)
specific one exists.

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

core/al/kernel/al_cm_cep.c

index c563969..1667b4f 100644 (file)
@@ -4012,7 +4012,7 @@ pdata_cmp:
                 * If an existing listen doesn't have a compare buffer,\r
                 * then we found a duplicate.\r
                 */\r
-               if( !p_listen->p_cmp_buf )\r
+               if( !p_listen->p_cmp_buf || !p_listen_info->p_cmp_buf )\r
                        break;\r
 \r
                if( p_listen_info->p_cmp_buf )\r