diff options
author | Roy.Li <rongqing.li@windriver.com> | 2013-08-28 17:22:58 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2013-09-05 08:52:10 -0400 |
commit | 3d8520a0b4115a7b4200892447fa94296d9256af (patch) | |
tree | 26f5233bc18ffffbef1e6d5f23793c68fc0bdff0 /meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb | |
parent | 9f3cea60ed06730e6d26e5dae32ddf0312aee423 (diff) | |
download | meta-openembedded-contrib-3d8520a0b4115a7b4200892447fa94296d9256af.tar.gz |
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.
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb')
-rw-r--r-- | meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb index cb5b234be9..9cb25f071d 100644 --- a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb +++ b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb @@ -23,7 +23,9 @@ SRC_URI = "http://kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-${PV}.t file://tftp-hpa-0.49-stats.patch \ file://tftp-hpa-5.2-pktinfo.patch \ file://default \ - file://init" + file://init \ + file://add-error-check-for-disk-filled-up.patch \ +" SRC_URI[md5sum] = "46c9bd20bbffa62f79c958c7b99aac21" SRC_URI[sha256sum] = "0a9f88d4c1c02687b4853b02ab5dd8779d4de4ffdb9b2e5c9332841304d1a269" |