[PATCH v2 0/2] rpc: avoid crash when system time jump back

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: BiaoXiang Ye <yebiaoxiang@xxxxxxxxxx>

Using monotonic timer instead of detecting a jump backwards
as suggested by Jano and Daniel, thanks for suggestions.

BiaoXiang Ye (2):
  rpc: avoid crash when system time jump back
  rpc: introduce macro MILLISECONDS_PER_SECOND

 src/rpc/virkeepalive.c | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)

-- 
2.23.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux