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
F153735663: D33697.diff
Thu, Apr 23, 7:59 AM
Unknown Object (File)
Tue, Apr 21, 9:00 PM
Unknown Object (File)
Tue, Apr 21, 4:07 PM
Unknown Object (File)
Fri, Apr 17, 12:29 PM
Unknown Object (File)
Wed, Apr 8, 3:00 PM
Unknown Object (File)
Wed, Apr 8, 2:48 AM
Unknown Object (File)
Tue, Apr 7, 8:13 PM
Unknown Object (File)
Thu, Apr 2, 6:54 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