vfs server: keep ack packet intact on failure

Issue #3742
This commit is contained in:
Christian Prochaska 2020-04-26 22:50:24 +02:00 committed by Norman Feske
parent 07b87f6f1f
commit 6a8fb48c13
1 changed files with 3 additions and 2 deletions

View File

@ -285,13 +285,14 @@ class Vfs_server::Io_node : public Vfs_server::Node,
void _acknowledge_as_failure()
{
_packet = Packet_descriptor();
_payload_ptr = Payload_ptr { nullptr };
_packet_in_progress = false;
_acked_packet_valid = true;
_acked_packet = _packet;
_acked_packet.succeeded(false);
_packet = Packet_descriptor();
_payload_ptr = Payload_ptr { nullptr };
}
/**