lkml.org 
[lkml]   [1999]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: SIGIO on socket disconnect
> From: kuznet@ms2.inr.ac.ru
> Subject: Re: SIGIO on socket disconnect
> To: vojta@math.BErkeley.EDU (Paul Vojta)
> Date: Fri, 7 May 1999 20:34:00 +0400 (MSK DST)
> Cc: linux-kernel@vger.rutgers.edu
>
> Hello!
>
> > Recently I have run across a problem with Linux 2.2 kernels concerning the
> > generation of SIGIO signals when the far end of a socket disconnects.
>
> Yes :( It calls sk->state_change, which does not generate signal.
>
> BTW I have no idea why it could work in 2.0. It does exactly
> the same thing.

I believe that 2.0 does it in sock_release_peer() in linux-2.0.36/net/socket.c.

> In any case, try the patch enclosed.
>
> Alexey

Works. Thanks!

--Paul Vojta, vojta@math.berkeley.edu

-
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.038 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site