qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 1201d3: slirp: fix clearing ifq_so from pendi


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 1201d3: slirp: fix clearing ifq_so from pending packets
Date: Thu, 31 Aug 2017 03:18:14 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 1201d308519f1e915866d7583d5136d03cc1d384
      
https://github.com/qemu/qemu/commit/1201d308519f1e915866d7583d5136d03cc1d384
  Author: Samuel Thibault <address@hidden>
  Date:   2017-08-30 (Wed, 30 Aug 2017)

  Changed paths:
    M slirp/socket.c

  Log Message:
  -----------
  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 <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Cc: address@hidden
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]