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

Han Zhou noreply at github.com
Fri Mar 22 20:54:59 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 23b16a03fc0717eb4025da0d1710fb5d972ebe86
      https://github.com/openvswitch/ovs/commit/23b16a03fc0717eb4025da0d1710fb5d972ebe86
  Author: Han Zhou <hzhou8 at ebay.com>
  Date:   2019-03-22 (Fri, 22 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