[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL] slirp: fix guest network access with darwin host
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PULL] slirp: fix guest network access with darwin host |
Date: |
Thu, 28 Apr 2016 19:00:52 +0100 |
On 28 April 2016 at 17:53, Samuel Thibault <address@hidden> wrote:
> On Darwin, connect, sendto and friends want the exact size of the sockaddr,
> not more (and in particular, not sizeof(struct sockaddr_storaget))
>
> This commit adds the sockaddr_size helper to be used when passing a sockaddr
> size to such function, and makes use of it int sendto and connect calls.
>
> Signed-off-by: Samuel Thibault <address@hidden>
> Reviewed-by: John Arbuckle <address@hidden>
> ---
> slirp/ip_icmp.c | 2 +-
> slirp/socket.c | 2 +-
> slirp/socket.h | 12 ++++++++++++
> slirp/tcp_subr.c | 2 +-
> 4 files changed, 15 insertions(+), 3 deletions(-)
Applied to master, thanks.
-- PMM