[PATCH] liveupdate: check for duplicate session before growing block set
Mike Rapoport
rppt at kernel.org
Tue Nov 3 10:30:15 PST 2026
From: Mike Rapoport (Microsoft) <rppt at kernel.org>
On Tue, 03 Nov 2026 12:39:28 -0300, Christian Aurich Zanettini Martins wrote:
> luo_session_insert() grows the outgoing block set before checking for a
> duplicate session name. On -EEXIST the new block stays in the set.
>
> If the session count is an exact multiple of the per-block capacity (51
> with 4K pages), that block stays empty. It is serialized with count 0,
> which kho_block_set_restore() rejects in the next kernel:
>
> [...]
Applied to next branch of liveupdate/linux.git tree, thanks!
[1/1] liveupdate: check for duplicate session before growing block set
commit: 7d4282ec2d3bfd5e7959bbd2663936a29c45f609
tree: https://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux
branch: next
--
Sincerely yours,
Mike.
More information about the kexec
mailing list