diff options
author | Samuel Thibault | 2017-08-25 01:35:53 +0200 |
---|---|---|
committer | Peter Maydell | 2017-08-31 00:14:34 +0200 |
commit | 1201d308519f1e915866d7583d5136d03cc1d384 (patch) | |
tree | 92e59d4f0b2d4e2de67ebd412fc54c9a27b0f2c7 /block/qcow2-cluster.c | |
parent | Open 2.11 development tree (diff) | |
download | qemu-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