[ovs-dev] [PATCH v2] reconnect.c: Don't transition back to ACTIVE when forced to RECONNECT.
Ben Pfaff
blp at ovn.org
Fri Mar 22 20:55:04 UTC 2019
On Fri, Mar 22, 2019 at 01:41:05PM -0700, Han Zhou wrote:
> From: Han Zhou <hzhou8 at ebay.com>
>
> 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 at ebay.com>
> ---
>
> Notes:
> v1->v2: update according to Ben's suggestion: directly check S_IDLE
Thanks, applied to master.
More information about the dev
mailing list