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)
Sun, Dec 21, 2:42 AM
Unknown Object (File)
Wed, Dec 17, 8:56 AM
Unknown Object (File)
Fri, Dec 12, 8:15 PM
Unknown Object (File)
Wed, Dec 10, 12:10 AM
Unknown Object (File)
Sat, Dec 6, 3:08 AM
Unknown Object (File)
Nov 25 2025, 4:53 PM
Unknown Object (File)
Nov 22 2025, 2:31 AM
Unknown Object (File)
Nov 8 2025, 10:20 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