[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 0d48df: slirp: fix guest network access with
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 0d48df: slirp: fix guest network access with darwin host |
Date: |
Thu, 28 Apr 2016 11:30:24 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 0d48dfedc5c2beb418ad4c08b78de14e794bb199
https://github.com/qemu/qemu/commit/0d48dfedc5c2beb418ad4c08b78de14e794bb199
Author: Samuel Thibault <address@hidden>
Date: 2016-04-28 (Thu, 28 Apr 2016)
Changed paths:
M slirp/ip_icmp.c
M slirp/socket.c
M slirp/socket.h
M slirp/tcp_subr.c
Log Message:
-----------
slirp: fix guest network access with darwin host
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>
Signed-off-by: Peter Maydell <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 0d48df: slirp: fix guest network access with darwin host,
GitHub <=