Page MenuHomeFreeBSD

loader: tftp: Copy the first block into the cache
ClosedPublic

Authored by manu on Dec 30 2021, 8:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 8, 9:24 AM
Unknown Object (File)
Thu, May 7, 3:10 PM
Unknown Object (File)
Wed, May 6, 10:54 AM
Unknown Object (File)
Sun, May 3, 6:18 PM
Unknown Object (File)
Sun, May 3, 3:22 PM
Unknown Object (File)
Tue, Apr 28, 7:41 PM
Unknown Object (File)
Tue, Apr 28, 7:31 PM
Unknown Object (File)
Thu, Apr 23, 7:59 AM

Details

Summary

tftp_open reads the first block so copy it in the cached data.
If we have more than one block (i.e. we called tftp_read before
tftp_preload) simply just reset the transfer.

Reported by: mmel
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable