[openib-general] Re: [PATCH] [kdapl] Update EP state before disconnect
James Lentini
jlentini at netapp.com
Mon Jun 27 07:18:16 PDT 2005
Committed in revision 2718.
On Fri, 24 Jun 2005, Hal Rosenstock wrote:
halr> [kdapl] Make update of EP state consistent. Update the EP state before
halr> disconnecting.
halr>
halr> Signed-off-by: Hal Rosenstock <halr at voltaire.com>
halr>
halr>
halr> Index: dapl_evd.c
halr> ===================================================================
halr> -- dapl_evd.c (revision 2713)
halr> +++ dapl_evd.c (working copy)
halr> @@ -789,11 +789,11 @@
halr> * reset the state to DISCONNECTED as we don't
halr> * expect a callback on an ABRUPT disconnect.
halr> */
halr> - dapl_ib_disconnect(ep, DAT_CLOSE_ABRUPT_FLAG);
halr> spin_lock_irqsave(&ep->common.lock, ep->common.flags);
halr> ep->param.ep_state = DAT_EP_STATE_DISCONNECTED;
halr> spin_unlock_irqrestore(&ep->common.lock,
halr> ep->common.flags);
halr> + dapl_ib_disconnect(ep, DAT_CLOSE_ABRUPT_FLAG);
halr> }
halr> }
halr>
halr>
More information about the general
mailing list