[ovs-git] [openvswitch/ovs] 6492e2: rconn: Avoid occasional immediate connection failu...

Ben Pfaff noreply at github.com
Fri Mar 1 18:58:15 UTC 2019


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 6492e2218ec3be9760cb119c27854852b5974878
      https://github.com/openvswitch/ovs/commit/6492e2218ec3be9760cb119c27854852b5974878
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M lib/rconn.c

  Log Message:
  -----------
  rconn: Avoid occasional immediate connection failures.

The rconn connection timer measures time on the granularity of seconds,
which means that sometimes the actual timeout can be just a millsecond or
so, which led to occasional immediate connection failures from ovs-ofctl.

VMware-BZ: #2295760
Fixes: 476d2551abd2 ("rconn: Introduce new invariant to fix assertion failure in corner case.")
Reported-by: Ken Ajiro <ken-ajiro at xr.jp.nec.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list