]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
liveupdate: Document that retrieve failure is permanent
authorTarun Sahu <tarunsahu@google.com>
Thu, 11 Jun 2026 09:30:40 +0000 (09:30 +0000)
committerMike Rapoport (Microsoft) <rppt@kernel.org>
Thu, 11 Jun 2026 12:49:51 +0000 (15:49 +0300)
Signed-off-by: Tarun Sahu <tarunsahu@google.com>
Reviewed-by: Pratyush Yadav (Google) <pratyush@kernel.org>
Link: https://patch.msgid.link/faec5df2a3e90240cde5897bae2250cd7d44aeac.1781170056.git.tarunsahu@google.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
include/uapi/linux/liveupdate.h

index 3a9ff53b02e00b5604b890c6458c1b6fe583e075..4043d4038712552f7431b656f1228ddadbb0f398 100644 (file)
@@ -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).
  */