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
F170936684: D33697.id100749.diff
Mon, Sep 7, 5:37 PM
F170912901: D33697.id100749.diff
Mon, Sep 7, 1:08 PM
Unknown Object (File)
Sun, Sep 6, 9:53 AM
Unknown Object (File)
Sat, Sep 5, 3:26 PM
Unknown Object (File)
Sat, Sep 5, 11:26 AM
Unknown Object (File)
Sat, Sep 5, 3:44 AM
Unknown Object (File)
Fri, Sep 4, 6:48 PM
Unknown Object (File)
Thu, Sep 3, 11:19 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