[openib-general] SRP: [PATCH] Handling DREQ

Muli Ben-Yehuda muli at il.ibm.com
Mon May 22 06:08:24 PDT 2006


On Mon, May 22, 2006 at 03:20:29PM +0300, Ishai Rabinovitz wrote:

> +	case IB_CM_DREQ_RECEIVED:
> +		printk(KERN_WARNING PFX
> +		       "IB_CM_DREQ_RECEIVED received - connection closed\n");
> +		if (ib_send_cm_drep(cm_id, NULL, 0))
> +			printk(KERN_ERR PFX "ib_send_cm_drep
>  			failed\n");

Assuming ib_send_cm_drep returns -ERRNO, please print the return value
here.

Cheers,
Muli



More information about the general mailing list