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
F150491196: D33697.diff
Wed, Apr 1, 4:32 PM
F150410675: D33697.diff
Wed, Apr 1, 12:08 AM
Unknown Object (File)
Mon, Mar 30, 8:14 AM
Unknown Object (File)
Sun, Mar 29, 7:22 AM
Unknown Object (File)
Mon, Mar 23, 2:51 PM
Unknown Object (File)
Fri, Mar 20, 9:16 PM
Unknown Object (File)
Wed, Mar 18, 10:28 AM
Unknown Object (File)
Tue, Mar 17, 8:08 PM

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