Re: [U-Boot] Bug in IP/UDP defragment?

2010-08-08 Thread Wolfgang Denk
Dear Fillod Stephane, In message 0b45e93c5ff65740aeae690bf3848b7a02087...@rennsmail04.eu.thmulti.com you wrote: I'm encountering a problem when tftp'ing a file of size 1747851 bytes with CONFIG_IP_DEFRAG defined and CONFIG_TFTP_BLOCKSIZE set to 4096. U-Boot's tftp times out on the last

Re: [U-Boot] Bug in IP/UDP defragment?

2010-08-08 Thread Alessandro Rubini
The patch below appears to solve my problem. Can you please resubmit this (eventually integrating Alessandro's comments) and add your Signed-off-by: line, so we can integrate this fix into mainline? This already happened, it's upstream as e397e59e861aa818cda12a23206dde06f7e9f660

Re: [U-Boot] Bug in IP/UDP defragment?

2010-06-10 Thread Alessandro Rubini
Hello. Please forgive my delay. 16:58:32.290407 IP 10.12.48.10.33088 10.12.48.32.3285: UDP, length 2959 16:58:32.290410 IP 10.12.48.10 10.12.48.32: udp 16:58:32.290412 IP 10.12.48.10 10.12.48.32: udp The third fragment here is less than 8 bytes of payload, and this triggers the bug. I

[U-Boot] Bug in IP/UDP defragment?

2010-06-08 Thread Fillod Stephane
Hi, I'm encountering a problem when tftp'ing a file of size 1747851 bytes with CONFIG_IP_DEFRAG defined and CONFIG_TFTP_BLOCKSIZE set to 4096. U-Boot's tftp times out on the last chunk. Undefining CONFIG_IP_DEFRAG/CONFIG_TFTP_BLOCKSIZE or downloading with a Linux tftp client are all well, so it