Re: [Qemu-devel] [PATCH] linux-user: add SO_LINGER to {g, s}etsockopt

2018-08-24 Thread Laurent Vivier
Le 24/08/2018 à 10:56, Carlo Marcelo Arenas Belón a écrit : > Original implementation for setsockopt by Chen Gang[1]; all bugs mine, > including removing assignment for optname which hopefully makes the > logic easier to follow and moving some variables to make the code > more selfcontained. > > [

[Qemu-devel] [PATCH] linux-user: add SO_LINGER to {g,s}etsockopt

2018-08-24 Thread Carlo Marcelo Arenas Belón
Original implementation for setsockopt by Chen Gang[1]; all bugs mine, including removing assignment for optname which hopefully makes the logic easier to follow and moving some variables to make the code more selfcontained. [1] http://patchwork.ozlabs.org/patch/565659/ Signed-off-by: Carlo Marce