qemu/slirp
Peter Maydell 75cb298d90 slirp: Handle error returns from sosendoob()
sosendoob() can return a failure code, but all its callers ignore it.
This is OK in sbappend(), as the comment there states -- we will try
again later in sowrite(). Add a (void) cast to tell Coverity so.
In sowrite() we do need to check the return value -- we should handle
a write failure in sosendoob() the same way we handle a write failure
for the normal data.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2017-07-15 14:28:25 +02:00
..
COPYRIGHT
Makefile.objs
arp_table.c
bootp.c
bootp.h
cksum.c
debug.h
dhcpv6.c
dhcpv6.h
dnssearch.c
if.c
if.h
ip.h
ip6.h
ip6_icmp.c
ip6_icmp.h
ip6_input.c
ip6_output.c
ip_icmp.c
ip_icmp.h
ip_input.c
ip_output.c
libslirp.h
main.h
mbuf.c
mbuf.h
misc.c
misc.h
ncsi-pkt.h
ncsi.c
ndp_table.c
sbuf.c slirp: Handle error returns from sosendoob() 2017-07-15 14:28:25 +02:00
sbuf.h
slirp.c
slirp.h
slirp_config.h
socket.c slirp: Handle error returns from sosendoob() 2017-07-15 14:28:25 +02:00
socket.h
tcp.h
tcp_input.c
tcp_output.c
tcp_subr.c
tcp_timer.c
tcp_timer.h
tcp_var.h
tcpip.h
tftp.c
tftp.h
udp.c
udp.h
udp6.c