Re: [PATCH] linux-user: Correct host errno for IP[V6]_RECVERR socket options

2021-09-07 Thread Philippe Mathieu-Daudé
On 9/7/21 1:13 PM, Philippe Mathieu-Daudé wrote: > Target errno should be converted to host errno in IP_RECVERR > and IPV6_RECVERR socket options. I meant "Host errno must be converted to target errno ..." > Fixes: ee1ac3a1822 ("linux-user: Add sockopts for IPv6") > Resolves: https://gitlab.com/q

[PATCH] linux-user: Correct host errno for IP[V6]_RECVERR socket options

2021-09-07 Thread Philippe Mathieu-Daudé
Target errno should be converted to host errno in IP_RECVERR and IPV6_RECVERR socket options. Fixes: ee1ac3a1822 ("linux-user: Add sockopts for IPv6") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/602 Reported-by: Conrad Meyer Signed-off-by: Philippe Mathieu-Daudé --- linux-user/sysca