]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r336587:
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Oct 2018 16:07:32 +0000 (16:07 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Oct 2018 16:07:32 +0000 (16:07 +0000)
commitbba9e152548371b7855ea2c96ce9bedfdf49e643
tree3551150824216c2ae0c056208f766848459382c4
parent27062831f8ed3e5a009aa28f822c4b066755f817
MFC r336587:

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

git-svn-id: svn://svn.freebsd.org/base/stable/10@339058 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
libexec/tftpd/tftp-transfer.c