]> git.proxmox.com Git - mirror_qemu.git/commit
slirp: Propagate host TCP RST to the guest.
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Thu, 7 Apr 2016 05:04:43 +0000 (22:04 -0700)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 7 Apr 2016 11:01:45 +0000 (13:01 +0200)
commit27d92ebc5ed1bb0b518d0ebc4c609182ad20a799
tree5ea5ed300e638a9cfe77ef8632979f7612e260ff
parentbfb1ac14029ee72b19296109fba880c0551755d5
slirp: Propagate host TCP RST to the guest.

When the host aborts (RST) its side of a TCP connection we need to
propagate that RST to the guest. The current code can leave such guest
connections dangling forever. Spotted by Jason Wessel.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
[steven@steven676.net: coding style adjustments]
Signed-off-by: Steven Luo <steven+qemu@steven676.net>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/socket.c