[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #40293] tftp implementation doesn't re-transmit ACKs

From: Vladimir Serbinenko
Subject: [bug #40293] tftp implementation doesn't re-transmit ACKs
Date: Sat, 26 Oct 2013 02:03:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 Iceweasel/24.0

Follow-up Comment #1, bug #40293 (project grub):

Please try:
diff --git a/grub-core/net/tftp.c b/grub-core/net/tftp.c
index b9d9549..2a01f1d 100644
--- a/grub-core/net/tftp.c
+++ b/grub-core/net/tftp.c
@@ -215,6 +215,7 @@ tftp_receive (grub_net_udp_socket_t sock __attribute__
            tftph = (struct tftphdr *) nb_top->data;
            if (grub_be_to_cpu16 (tftph->u.data.block) >= data->block + 1)
+           ack (data, grub_be_to_cpu16 (tftph->u.data.block));
            grub_netbuff_free (nb_top);
            grub_priority_queue_pop (data->pq);


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]