| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK |
| From: | "Andi Kleen" <ak@xxxxxxx> |
| Date: | Fri, 15 Sep 2000 15:18:05 +0200 |
| Cc: | matthias.andree@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, dns@xxxxxxxxxxxxx, ak@xxxxxx, kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, alan@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <200009151254.FAA09729@pizda.ninka.net>; from davem@redhat.com on Fri, Sep 15, 2000 at 05:54:14AM -0700 |
| References: | <20000915150125.A8057@emma1.emma.line.org> <200009151254.FAA09729@pizda.ninka.net> |
| Sender: | owner-netdev@xxxxxxxxxxx |
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@xxxxxxxxxxxxxxxxxxxx> > > (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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK, David S. Miller |
|---|---|
| Next by Date: | Re: Preallocated skb's?, jamal |
| Previous by Thread: | Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK, David S. Miller |
| Next by Thread: | Re: No Bug: accept discards socket options/O_NONBLOCK, Matthias Andree |
| Indexes: | [Date] [Thread] [Top] [All Lists] |