u-boot-brain/net
Fillod Stephane e397e59e86 ip/defrag: fix processing of last short fragment
TFTP'ing a file of size 1747851 bytes with CONFIG_IP_DEFRAG and
CONFIG_TFTP_BLOCKSIZE set to 4096 fails with a timeout, because
the last fragment is not taken into account. This patch fixes
IP fragments having less than 8 bytes of payload.

Signed-off-by: Stephane Fillod <stephane.fillod@grassvalley.com>
Acked-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2010-06-20 22:11:32 -07:00
..
bootp.c net: pull CONFIG checks out of source and into makefile 2009-12-13 21:31:26 -08:00
bootp.h net: express the first argument to NetSetTimeout() in milliseconds 2008-10-18 21:54:00 +02:00
dns.c Coding Style cleanup; update CHANGELOG. 2009-07-23 22:23:23 +02:00
dns.h Add DNS support 2009-07-22 22:53:44 -07:00
eth.c Program net device MAC addresses after initializing 2010-05-03 14:52:49 -07:00
Makefile net: pull CONFIG checks out of source and into makefile 2009-12-13 21:31:26 -08:00
net.c ip/defrag: fix processing of last short fragment 2010-06-20 22:11:32 -07:00
nfs.c net: pull CONFIG checks out of source and into makefile 2009-12-13 21:31:26 -08:00
nfs.h nfs: accept CONFIG_NFS_READ_SIZE from config file 2009-08-25 13:35:54 -07:00
rarp.c net: pull CONFIG checks out of source and into makefile 2009-12-13 21:31:26 -08:00
rarp.h Initial revision 2002-07-20 20:14:13 +00:00
sntp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
sntp.h * Patch by Masami Komiya, 30 Mar 2005: 2005-04-01 00:25:43 +00:00
tftp.c TFTP: allow for adjustable retransmission timout 2010-03-21 22:22:44 +01:00
tftp.h Initial revision 2000-12-28 11:02:30 +00:00