lkml.org 
[lkml]   [2003]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH]: Set SOCK_DONE when TCP socket receives FIN
On Mon, 14 Jul 2003 03:41:00 +0100
Jamie Lokier <jamie@shareable.org> wrote:

> The SOCK_DONE flag is always clear and never set in 2.5.75. Yet there
> is code which tests it, and if it's clear, will return -ENOTCONN.
> Admittedly I am confused as to how this is not noticed :)
>
> This small patch sets it where it looks like it was intended.
> Please check.

Indeed, good catch. This bug got introduced when we changed
all of those volatile char things into a flags bitmask
(ChangeSet 1.889.291.25)

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

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