Re: [PATCH v3 2/2] liveupdate: initialize incoming FLB state before finish
From: Pratyush Yadav
Date: Sun Apr 05 2026 - 03:35:19 EST
On Sat, Apr 04 2026, Leo Timmins wrote:
> Hello All,
>
>> Apologies for the duplicate email, I had accidentally sent it out with html instead of plain text.
>
> I have done my testing of Pratyush's alternate patch. My tests
> indicate it successfully fixes the potential underflow if
> incoming.count is <= 0
>
> Patch successfully compiles with 7.0.0-rc6 and has been tested on a VM
> (QEMU + VMM) with Arch.
>
> I executed a liveupdate with kexec which was successful. I then wrote
> a test tool to replicate the underflow conditions, and added a check
> to see if incoming.count is <= 0 after the if statement block
>
> Having confirmed it works:
>
> Reviewed-by: Leo Timmins <leotimmins1974@xxxxxxxxx>
Thanks!
[...]
--
Regards,
Pratyush Yadav