Received: from eggs.gnu.org ([2001:4830:134:3::10]:49394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faOG4-0007TB-FP for qemu-devel@nongnu.org; Tue, 03 Jul 2018 12:34:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faOG0-0005Go-Hv for qemu-devel@nongnu.org; Tue, 03 Jul 2018 12:34:28 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:57010) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1faOG0-0005GE-7d for qemu-devel@nongnu.org; Tue, 03 Jul 2018 12:34:24 -0400 From: Laurent Vivier Date: Tue, 3 Jul 2018 18:34:49 +0200 Message-Id: <20180703163451.16936-6-laurent@vivier.eu> In-Reply-To: <20180703163451.16936-1-laurent@vivier.eu> References: <20180703163451.16936-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PULL 5/7] linux-user: update do_setsockopt() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio , Laurent Vivier add IPV6_MULTICAST_HOPS and IPV6_MULTICAST_LOOP that need 32bit value conversion Signed-off-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20180627212152.26525-3-laurent@vivier.eu> --- linux-user/syscall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 4460f1e39a..50e20fb659 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -3019,6 +3019,8 @@ static abi_long do_setsockopt(int sockfd, int level, int optname, case IPV6_V6ONLY: case IPV6_RECVPKTINFO: case IPV6_UNICAST_HOPS: + case IPV6_MULTICAST_HOPS: + case IPV6_MULTICAST_LOOP: case IPV6_RECVERR: case IPV6_RECVHOPLIMIT: case IPV6_2292HOPLIMIT: -- 2.17.1