lkml.org 
[lkml]   [1999]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: named getting stuck in tcp_close (2.2.5-ac1, 2.2.6-ac1-ank1)
Date
Hello!

> #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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.181 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site