Displaying 3 results from an estimated 3 matches for "ack_again".
2015 Jun 17
3
EFI & PXE-booting: very slow TFTP performance on a VMWare test setup
...he next
file finnishes downloading. Even ldlinux can fail to load.
On bigger files, there is an increasing chance that core_udp_recv in
efi/udp.c hits the 15ms (or is it 15 undefined jiffies?) timeout and
returns -1 to its caller in core/fs/pxe/tfpt.c:tftp_get_packet().
This function then goes to ack_again, causing atfptd to resend the packet
that just timed out. Then on the next call the original(!) packet is
received anyway and handled according to plan.
But the next packet to be received will be the same packet again,
causing tftp.c to hit this code:
if (serial != last_pkt) {
/*...
2015 Jun 17
0
EFI & PXE-booting: very slow TFTP performance on a VMWare test setup
...oading. Even ldlinux can fail to load.
>
> On bigger files, there is an increasing chance that core_udp_recv in
> efi/udp.c hits the 15ms (or is it 15 undefined jiffies?) timeout and
> returns -1 to its caller in core/fs/pxe/tfpt.c:tftp_get_packet().
>
> This function then goes to ack_again, causing atfptd to resend the packet
> that just timed out. Then on the next call the original(!) packet is
> received anyway and handled according to plan.
>
> But the next packet to be received will be the same packet again,
> causing tftp.c to hit this code:
>
> if (seri...
2017 May 31
6
[PATCH 1/4] efi/udp: core_udp_connect should use SubnetMask not StationAddress for netmask
Signed-off-by: Julien Viard de Galbert <jviarddegalbert at online.net>
---
efi/udp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/udp.c b/efi/udp.c
index 1088f47..b0f13ad 100644
--- a/efi/udp.c
+++ b/efi/udp.c
@@ -163,7 +163,7 @@ void core_udp_connect(struct pxe_pvt_inode *socket, uint32_t ip,
} else {
udata.UseDefaultAddress = FALSE;