[openib-general] RFC on CM error handling

Sean Hefty mshefty at ichips.intel.com
Thu Jan 20 10:20:58 PST 2005


I'm looking for comments on how to handle errors in the CM with respect 
to state transitions.  If an error occurs while trying to drive the 
state of a connection endpoint, should the state transition still occur?

Right now, I force the state to idle or timewait if the user makes a 
call to reject a connection, and that call fails.  I also force the 
state to timewait if a call to disconnect fails.

Comments?  Should other error cases be handled similarly?  E.g. if a 
call to send a reply fails, should the state remain the same (which 
would let the user reject the connection), should the state transition 
into the idle state, should a reject be automatically attempted, or ... ?

- Sean



More information about the general mailing list