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

2021-09-13 Thread Laurent Vivier
Le 11/09/2021 à 19:08, Philippe Mathieu-Daudé a écrit : > Host errno must be converted to target 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 M

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

2021-09-11 Thread Philippe Mathieu-Daudé
Host errno must be converted to target 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é --- v2: Corrected patch