[IBAL] Fixed bug where a call to al_cep_listen with a CEP in CEP_STATE_PRE_REQ
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 12 Sep 2005 18:07:43 +0000 (18:07 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 12 Sep 2005 18:07:43 +0000 (18:07 +0000)
commit0560561303d44a518f2f6472740133b4cdca0a74
tree29dbe7c46b1fac49cc0cafa3ee838fcfcd54ab2b
parent561c41a83dd28ba26eeb47bf32a8066ea71dc751
[IBAL] Fixed bug where a call to al_cep_listen with a CEP in CEP_STATE_PRE_REQ
would free the MAD allocated in al_cep_pre_req, but not change the state.
If al_cep_listen fails, the state wouldn't be changed to reflect that the MAD
was returned and a subsequent call would attempt to free a NULL MAD.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@62 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/al/kernel/al_cm_cep.c