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

Han Zhou noreply at github.com
Thu Mar 28 18:08:20 UTC 2019


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 4a794607ba0b3363657874b0b4a4eadfa811f3a5
      https://github.com/openvswitch/ovs/commit/4a794607ba0b3363657874b0b4a4eadfa811f3a5
  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