lkml.org 
[lkml]   [1999]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Real fix] Re: Kernel panic: can't push onto full stack


On Mon, 1 Mar 1999 kuznet@ms2.inr.ac.ru wrote:

> Hello!
>
> > Methink I found the sucker - we have one place where the unix_socket
> > is freed without kernel_lock hold. It is in unix_destroy_timer().
>
> Stop, stop, stop! To the time, when socket is destroyed from timer,
> it is dead. It is detached from hash tables, its queues are already destroyed
> etc. It is hold only to tell peer, that endpoint is dead and to die in piece.

Sigh... AFAICS it's the only place where we have async *whatever* in
net/unix/*.c. Can anything remove skb from the queue without kernel_lock
held? Maybe I'm missing the path calling unix_gc() without kernel_lock,
but I've rechecked it and it seems to be OK.


-
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:50    [W:1.713 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site