From: Tarun Sahu Date: Thu, 11 Jun 2026 09:30:40 +0000 (+0000) Subject: liveupdate: Document that retrieve failure is permanent X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e98a9c61721c14bcd29f11f4802e52e908701f7a;p=thirdparty%2Flinux.git liveupdate: Document that retrieve failure is permanent Signed-off-by: Tarun Sahu Reviewed-by: Pratyush Yadav (Google) Link: https://patch.msgid.link/faec5df2a3e90240cde5897bae2250cd7d44aeac.1781170056.git.tarunsahu@google.com Signed-off-by: Mike Rapoport (Microsoft) --- diff --git a/include/uapi/linux/liveupdate.h b/include/uapi/linux/liveupdate.h index 3a9ff53b02e00..4043d40387125 100644 --- a/include/uapi/linux/liveupdate.h +++ b/include/uapi/linux/liveupdate.h @@ -169,7 +169,9 @@ struct liveupdate_session_preserve_fd { * associated with the token and populates the @fd field with a new file * descriptor referencing the restored resource in the current (new) kernel. * This operation must be performed *before* signaling completion via - * %LIVEUPDATE_IOCTL_FINISH. + * %LIVEUPDATE_IOCTL_FINISH. If a retrieve of a token fails, subsequent + * attempts to retrieve the token fail with the same error code. Failed + * retrieves are not retried. * * Return: 0 on success, negative error code on failure (e.g., invalid token). */