-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Nischal Sheth
committed
Jan 16, 2015
1 parent
31a300b
commit 6bb5d55
Showing
2 changed files
with
6 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters