lkml.org 
[lkml]   [1998]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: oops in __release_sock() [2.0.35]

On Sat, 3 Oct 1998, Andrea Arcangeli wrote:

> The problem is that a sock is been just kfreed and reused from other
> pieces of code at release_sock() time.

> sk->dead = 1;
> release_sock(sk);

Hi Andrea,

Aaargh. This problem is much worse than a "harmless __release_sock oops"
then. Before the oops is triggered in release_sock, the line

sk->dead = 1

has trashed some random kernel memory!!

Could explain a mysterious crash or two we've had :-) We see the
__release_sock oops every now and again.

Chris


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