HomeFreeBSD

tftpd(8): when completing an WRQ, flush the file before acknowleding receipt

Description

tftpd(8): when completing an WRQ, flush the file before acknowleding receipt

tftpd(8) should flush a newly written file to disk before ACKing the final DATA
packet. Otherwise there is a narrow race window when a subsequent read may not
see the file. This is somewhat related to r330710, but the race window is much
smaller. Hopefully this will fix the intermittent tests in Jenkins.

Reported by: Jenkins
MFC after: 2 weeks

Details

Provenance
asomersAuthored on
Parents
rS336586: Clear expected failures for aesni_aes_gcm tests
Branches
Unknown
Tags
Unknown