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
F171170522: D33697.diff
Wed, Sep 9, 5:20 AM
F171150227: D33697.diff
Wed, Sep 9, 12:56 AM
Unknown Object (File)
Mon, Sep 7, 5:37 PM
Unknown Object (File)
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

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