projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2ba246
)
linux-user: update do_setsockopt()
author
Laurent Vivier
<laurent@vivier.eu>
Wed, 27 Jun 2018 21:21:52 +0000
(23:21 +0200)
committer
Laurent Vivier
<laurent@vivier.eu>
Mon, 2 Jul 2018 18:16:35 +0000
(20:16 +0200)
add IPV6_MULTICAST_HOPS and IPV6_MULTICAST_LOOP that need
32bit value conversion
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <
20180627212152
.26525-3-laurent@vivier.eu>
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index 4460f1e39a07f4a6253d1b0969fcb062a33989b6..50e20fb659c8a77a107ed3d805dd40bd914b8ea7 100644
(file)
--- 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: