Ticket #3532 (closed defect: fixed)
TFTP client can not handle big files
|Reported by:||mafmaf||Owned by:|
There is a bug in the built-in tftp client used when doing pxe boots. It fails to download a file if the file is so big that it requires more than 65535 data packets. Files this big (like to OpenSolaris miniroot) will cause the block index to wrap around (since it is only 16 bits), and the code does not handle that, instead it keeps resending acks to block 65535
The fix is simple and I have attached a diff.