Skip to content

Commit 5760e8d

Browse files
sjorgedanmcd
authored andcommitted
OS-8487 LX's IPV6_RECVERR should be treated like IP_RECVERR
Reviewed by: Andy Fiddaman <[email protected]> Reviewed by: Dominik Hassler <[email protected]> Reviewed by: Brian Bennett <[email protected]> Approved by: Dan McDonald <[email protected]>
1 parent e24dec5 commit 5760e8d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

usr/src/uts/common/brand/lx/syscall/lx_socket.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3351,6 +3351,12 @@ lx_setsockopt_ipv6(sonode_t *so, int optname, void *optval, socklen_t optlen)
33513351
lx_proto_opts_t sockopts_tbl = PROTO_SOCKOPTS(ltos_ipv6_sockopts);
33523352

33533353
switch (optname) {
3354+
case LX_IPV6_RECVERR:
3355+
/*
3356+
* Ping and glibc's resolver set this. See lx_setsockopt_ip()'s
3357+
* handling of LX_IP_RECVERR for more.
3358+
*/
3359+
return (0);
33543360
case LX_IPV6_MTU:
33553361
/*
33563362
* There isn't a good translation for IPV6_MTU and certain apps

0 commit comments

Comments
 (0)