[ovs-git] [openvswitch/ovs] 359a7d: reconnect.c: Don't transition back to ACTIVE when ...

Han Zhou noreply at github.com
Thu Mar 28 18:07:02 UTC 2019


  Branch: refs/heads/branch-2.11
  Home:   https://github.com/openvswitch/ovs
  Commit: 359a7d2f3cd4c9b5af4a662f78386a51f964161d
      https://github.com/openvswitch/ovs/commit/359a7d2f3cd4c9b5af4a662f78386a51f964161d
  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