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
F166556544: D33697.id100756.diff
Fri, Aug 14, 10:22 AM
Unknown Object (File)
Thu, Aug 13, 12:12 AM
Unknown Object (File)
Thu, Aug 13, 12:12 AM
Unknown Object (File)
Thu, Aug 13, 12:12 AM
Unknown Object (File)
Thu, Aug 13, 12:12 AM
Unknown Object (File)
Wed, Aug 12, 8:59 PM
Unknown Object (File)
Mon, Aug 10, 8:08 AM
Unknown Object (File)
Sun, Aug 9, 5:16 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