summaryrefslogtreecommitdiffstats
path: root/block/qcow2-cluster.c
diff options
context:
space:
mode:
authorSamuel Thibault2017-08-25 01:35:53 +0200
committerPeter Maydell2017-08-31 00:14:34 +0200
commit1201d308519f1e915866d7583d5136d03cc1d384 (patch)
tree92e59d4f0b2d4e2de67ebd412fc54c9a27b0f2c7 /block/qcow2-cluster.c
parentOpen 2.11 development tree (diff)
downloadqemu-1201d308519f1e915866d7583d5136d03cc1d384.tar.gz
qemu-1201d308519f1e915866d7583d5136d03cc1d384.tar.xz
qemu-1201d308519f1e915866d7583d5136d03cc1d384.zip
slirp: fix clearing ifq_so from pending packets
The if_fastq and if_batchq contain not only packets, but queues of packets for the same socket. When sofree frees a socket, it thus has to clear ifq_so from all the packets from the queues, not only the first. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Cc: qemu-stable@nongnu.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'block/qcow2-cluster.c')
0 files changed, 0 insertions, 0 deletions