Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reconnect.c: Don't transition back to ACTIVE when forced to RECONNECT.
Currently, whenever there is activity on the session, the FSM is transitioned to ACTIVE. However, this causes reconnect_force_reconnect() failed to work once there are traffic received from remote after transition to RECONNECT, it will skip the reconnection phase and directly go back to ACTIVE for the old session. This patch fixes it so that when FSM is in RECONNECT state, it doesn't transition back to ACTIVE directly. Signed-off-by: Han Zhou <hzhou8@ebay.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
- Loading branch information