[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Qemu's internal TFTP server breaks lock-step-iness of TFTP
From: |
Milan Plzik |
Subject: |
[Qemu-devel] Qemu's internal TFTP server breaks lock-step-iness of TFTP |
Date: |
Thu, 07 Jan 2010 13:39:43 +0100 |
According to RFC 1350 and RFC 2347, TFTP server should answer RRQ by
either OACK or DATA packet. Qemu's internal TFTP server answers RRQ with
additional options by sending both OACK and DATA packet, thus breaking
the "lock-step" feature of the protocol, and also confuses client.
Proposed solution would be to, in case of OACK packet, wait for ACK
from client and just then start sending data. Attached patch implements
this.
Signed-off-by: Thomas Horsten <address@hidden>
Signed-off-by: Milan Plzik <address@hidden>
qemu_tftp_handle_oack_correctly.patch
Description: Text Data