On Wed, 2006-03-15 at 15:26 -0800, Sean Hefty wrote:
> Steve Wise wrote:
> > If you think this has utility, then please add it to
> > gen2/utils/src/linux-kernel/infiniband/util/krping.
> 
> I've added this to the util directory as a test.  Thanks!
> 
> 

Cool!  

Here's a patch that fixes a bug if the connection is rejected, plus a
printk typo.

Signed-off-by: Steve Wise <[EMAIL PROTECTED]>


Index: krping.c
===================================================================
--- krping.c    (revision 5853)
+++ krping.c    (working copy)
@@ -241,6 +241,7 @@
        case RDMA_CM_EVENT_REJECTED:
                printk(KERN_ERR PFX "cma event %d, error %d\n", event->event,
                       event->status);
+               cb->state = ERROR;
                wake_up_interruptible(&cb->sem);
                break;

@@ -860,7 +861,7 @@
                return -1;
        }

-       DEBUG_LOG("rmda_connect successful\n");
+       DEBUG_LOG("rdma_connect successful\n");
        return 0;
 }


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to