HomeFreeBSD

loader: tftp: Don't error on tftp error 0

Description

loader: tftp: Don't error on tftp error 0

tftp-hpa sends NAK with tftp error set to 0 when trying to get
a directory and this is the first thing that loader tries to do
and this make it hangs.

Reviewed by: imp, tsoome
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D33406

Details

Provenance
manuAuthored on Dec 8 2021, 3:18 PM
Reviewer
imp
Differential Revision
D33406: loader: tftp: Don't error on tftp error 0
Parents
rGb214fcceacad: Change VOP_READDIR's cookies argument to a **uint64_t
Branches
Unknown
Tags
Unknown