[ovs-git] [openvswitch/ovs] 01d8bf: reconnect.c: Don't transition back to ACTIVE when ...
Han Zhou
noreply at github.com
Thu Mar 28 18:08:04 UTC 2019
Branch: refs/heads/branch-2.10
Home: https://github.com/openvswitch/ovs
Commit: 01d8bf2967453d51127cbc1a3b75a549e282e31d
https://github.com/openvswitch/ovs/commit/01d8bf2967453d51127cbc1a3b75a549e282e31d
Author: Han Zhou <hzhou8 at ebay.com>
Date: 2019-03-28 (Thu, 28 Mar 2019)
Changed paths:
M lib/reconnect.c
Log Message:
-----------
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 at ebay.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list