From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avr5J-0002Pt-3V for qemu-devel@nongnu.org; Thu, 28 Apr 2016 14:54:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avr5E-0001Co-5m for qemu-devel@nongnu.org; Thu, 28 Apr 2016 14:54:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avr5E-0001Cf-0X for qemu-devel@nongnu.org; Thu, 28 Apr 2016 14:54:40 -0400 References: <1461846412-12596-1-git-send-email-samuel.thibault@ens-lyon.org> From: Thomas Huth Message-ID: <57225C69.6020009@redhat.com> Date: Thu, 28 Apr 2016 20:54:33 +0200 MIME-Version: 1.0 In-Reply-To: <1461846412-12596-1-git-send-email-samuel.thibault@ens-lyon.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] slirp: fix guest network access with darwin host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault , qemu-devel@nongnu.org Cc: jan.kiszka@siemens.com, jasowang@redhat.com On 28.04.2016 14:26, Samuel Thibault wrote: > On darwin, connect, sendto and friends want the exact size of the sockaddr, > not more. This adds the sockaddr_size helper to be used when passing a > sockaddr size to such function, and makes use of it for sendto and connect > calls. > > Signed-off-by: Samuel Thibault > --- > 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(-) Reviewed-by: Thomas Huth