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
F83732973: D33697.id100756.diff
Tue, May 14, 4:24 AM
Unknown Object (File)
Wed, May 1, 9:39 PM
Unknown Object (File)
Tue, Apr 30, 4:44 PM
Unknown Object (File)
Mon, Apr 29, 9:37 PM
Unknown Object (File)
Apr 12 2024, 1:30 AM
Unknown Object (File)
Mar 31 2024, 11:58 AM
Unknown Object (File)
Mar 2 2024, 6:05 AM
Unknown Object (File)
Jan 17 2024, 8: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