]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: Reset endpoint state on error
authorSean Hefty <sean.hefty@intel.com>
Fri, 21 Mar 2014 06:23:06 +0000 (23:23 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 8 Apr 2014 22:51:00 +0000 (15:51 -0700)
commit5d84469178c54034e6be03ef531266489d2574b1
treebccc4d82d1e9612d525c91d363246b8db04b5cdd
parent3892686e01d9afc38118eaeec82288b1fbc81f96
ibacm: Reset endpoint state on error

An endpoint will be set to the ACM_READY state after
joining its multicast group.  If we later receive a
reregister event or port down followed by port up and
try to join the group again but fail, we will leave the
endpoint state as READY, rather than reset it back to INIT.

To fix, always set the mc_dest state to ACM_INIT on
any failure.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c