ib/cm: update port attributes earlier in destruction path
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 12 May 2009 17:16:33 +0000 (17:16 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 12 May 2009 17:16:33 +0000 (17:16 +0000)
commit6e1f85661ac4c3d43b32daaee758e5d1982add00
tree4a2b1a86f13d31bdc72fa584c872757fda7a9be9
parent234598959fe56c09d6bb5dd16c6f0841bbfd57c1
ib/cm: update port attributes earlier in destruction path

The CM tries to modify the port attributes during the cleanup
phase of port cep destruction.  However, if the stack is
being brought down, by the time ib_modify_hca is called, the
h_ca handle is invalid.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2169 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/al/kernel/al_cm_cep.c