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, Oct 31, 11:53 PM
Unknown Object (File)
Wed, Oct 29, 5:29 PM
Unknown Object (File)
Wed, Oct 29, 5:13 PM
Unknown Object (File)
Wed, Oct 29, 11:34 AM
Unknown Object (File)
Wed, Oct 29, 9:54 AM
Unknown Object (File)
Wed, Oct 29, 9:46 AM
Unknown Object (File)
Sat, Oct 25, 9:01 PM
Unknown Object (File)
Sat, Oct 11, 2:04 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43646
Build 40534: arc lint + arc unit