[openib-general] [PATCH 3/3] iWARP CM

Sean Hefty sean.hefty at intel.com
Thu Mar 9 12:32:35 PST 2006


>> > +static int cm_conn_req_handler(struct iwcm_work *work)
>> > +{
>> > +	struct iw_cm_id *cm_id;
>> > +	struct iwcm_id_private *cm_id_priv;
>> > +	int rc;
>> > +
>> > +	/* If the status was not successful, ignore request */
>> > +	if (work->event.status) {
>> > +		printk(KERN_ERR "%s:%d Bad status=%d for connection request. "
>> > +		       "Should be filtered by provider\n",
>> > +		       __FUNCTION__, __LINE__,
>> > +		       work->event.status);
>> > +		return work->event.status;
>> > +	}
>>
>> Can status really ever be non-zero here?
>
>Yes, this event is generated by the provider.

We're handling a new connection request.  Why would the provider report a
failure?  The printk even states that the provider should filter this.

- Sean





More information about the general mailing list