tftp-hpa: add error check for disk filled up
authorRoy.Li <rongqing.li@windriver.com>
Wed, 28 Aug 2013 09:22:58 +0000 (17:22 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:32:46 +0000 (08:32 -0800)
commit365db17f30f18d23394e38a58c7eafc13dab99d4
tree41f022713a0593994b4b63f4ebd2a75287d5e7b1
parent181eb9ec64f01b590bd1e735fc165ee21308843b
tftp-hpa: add error check for disk filled up

Add error check when the write-buffer is finally flushed to the file,
the caller can detect if the disk filled up (or had an i/o error) and
return a NOSAPCE nak to the other side.

(From meta-openembedded rev: 3d8520a0b4115a7b4200892447fa94296d9256af)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/add-error-check-for-disk-filled-up.patch [new file with mode: 0644]
meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb