lkml.org 
[lkml]   [2000]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK
On Fri, Sep 15, 2000 at 05:54:14AM -0700, David S. Miller wrote:
> Date: Fri, 15 Sep 2000 15:01:25 +0200
> From: Matthias Andree <matthias.andree@stud.uni-dortmund.de>
>
> (This is for IPv4, someone would have to check IPv6 as well).
> The socket flag O_NONBLOCK is _NOT_ properly inherited through an
> accept(2) call, in spite of what socket(7) documents. This is a bug.
> accept(2) must copy the file descriptor's flag of the socket.
>
> The socket(7) manpage is buggy, not the kernel.

Fixed on vger now.

I planned to send an update to Andries soon anyways.


-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.064 / U:2.100 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site