[Qemu-devel] [PATCH 1/9] slirp: goto bad in udp_input if sosendto fails

2015-12-19 Thread Samuel Thibault
From: Guillaume Subiron Before this patch, if sosendto fails, udp_input is executed as if the packet was sent, recording the packet for icmp errors, which does not makes sense since the packet was not actually sent, errors would be related to a previous packet. This patch adds a goto bad to cut

[Qemu-devel] [PATCH 1/9] slirp: goto bad in udp_input if sosendto fails

2015-12-14 Thread Samuel Thibault
From: Guillaume Subiron Before this patch, if sosendto fails, udp_input is executed as if the packet was sent, recording the packet for icmp errors, which does not makes sense since the packet was not actually sent, errors would be related to a previous packet. This patch adds a goto bad to cut