Comment 3 for bug 1411855

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/6286
Committed: http://github.org/Juniper/contrail-controller/commit/3b7fcc22f259f12726c16496bb33658cec83fc7b
Submitter: Zuul
Branch: master

commit 3b7fcc22f259f12726c16496bb33658cec83fc7b
Author: Nischal Sheth <email address hidden>
Date: Fri Jan 16 13:08:02 2015 -0800

Fix deadlock in RibOutUpdates::TailDequeue/PeerDequeue

RibOutUpdates::TailDequeue/PeerDequeue can deadlock if 2 RouteUpdates
have the same timestamp. Calling clock_gettime with CLOCK_MONOTONIC
does not guarantee monotonically increasing timestamps.

Use atomic uint64_t to implement relative timestamp for RouteUpdate.

Change-Id: I328fc96405c51dace5b5e8a79b80026631a0bb4b
Partial-Bug: 1411855