> #ifdef SO_LINGER /* XXX */
> /* kernels that map pages for IO end up failing if the pipe is full
> * at exit and we take away the final buffer. this is really a kernel
> * bug but it's harmless on systems that are not broken, so...
> */
> setsockopt(qs->s_rfd, SOL_SOCKET, SO_LINGER, (char *)&ll, sizeof ll);
> #endif
> return (0);
> }
>
>
>
> The setsockopt() call and comment above looks a bit suspicious. :)
Yes, this piece of shit was present in 4.9.x too, but was called
only when XFERring zone after forking, so that lockup was harmless.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/