diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-09-10 11:31:13 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-10-11 23:13:27 +0200 |
commit | d0800609136d16418f49d01098b206c0c394d147 (patch) | |
tree | 2e0f546b85fac0699366933872f5c8d5d569f49f /arch/um/kernel/time.c | |
parent | um: time-travel: Fix IRQ handling in time_travel_handle_message() (diff) | |
download | linux-d0800609136d16418f49d01098b206c0c394d147.tar.xz linux-d0800609136d16418f49d01098b206c0c394d147.zip |
um: time-travel: Return the sequence number in ACK messages
For external time travel, the protocol says to return the
incoming sequence number in the ACK message to aid debugging,
so do that.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel/time.c')
-rw-r--r-- | arch/um/kernel/time.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/kernel/time.c b/arch/um/kernel/time.c index c07436e89e59..3d109ff3309b 100644 --- a/arch/um/kernel/time.c +++ b/arch/um/kernel/time.c @@ -106,6 +106,7 @@ static void time_travel_handle_message(struct um_timetravel_msg *msg, break; } + resp.seq = msg->seq; os_write_file(time_travel_ext_fd, &resp, sizeof(resp)); } |