Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
if_start() goes through the slirp->if_fastq and slirp->if_batchq list of pending messages, and accesses ifm->ifq_so->so_nqueued of its elements if ifm->ifq_so != NULL. When freeing a socket, we thus need to make sure that any pending message for this socket does not refer to the socket any more. Signed-off-by: Samuel Thibault <[email protected]> Tested-by: Brian Candler <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]>
- Loading branch information