[PATCH v3 0/1] rpc: avoid crash when system time jump back

BiaoxiangYe posted 1 patch 3 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1612936685-17664-1-git-send-email-yebiaoxiang@huawei.com
src/rpc/virkeepalive.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
[PATCH v3 0/1] rpc: avoid crash when system time jump back
Posted by BiaoxiangYe 3 years, 2 months ago
From: BiaoXiang Ye <yebiaoxiang@huawei.com>

use G_USEC_PER_SEC instead of self-defining macro

v2:
- using monotonic timer instead of detecting a jump backwards

BiaoXiang Ye (1):
  rpc: avoid crash when system time jump back

 src/rpc/virkeepalive.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

-- 
2.23.0

Re: [PATCH v3 0/1] rpc: avoid crash when system time jump back
Posted by Ján Tomko 3 years, 2 months ago
On a Wednesday in 2021, BiaoxiangYe wrote:
>From: BiaoXiang Ye <yebiaoxiang@huawei.com>
>
>use G_USEC_PER_SEC instead of self-defining macro
>
>v2:
>- using monotonic timer instead of detecting a jump backwards
>
>BiaoXiang Ye (1):
>  rpc: avoid crash when system time jump back
>
> src/rpc/virkeepalive.c | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

and pushed.

Jano