lkml.org 
[lkml]   [1996]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 1.99.3 (pre2.0.3) ooops


On Tue, 14 May 1996, Matthias Reineke wrote:
>
> ksymoops:
> >>EIP: 13e8ff <unix_gc+13f/2b0>
> Trace: 13d052 <unix_release+82/90>
> Trace: 137fbc <sock_release+5c/a0>
> Trace: 138235 <sock_close+25/30>
> Trace: 122872 <close_fp+62/90>
> Trace: 1228f0 <sys_close+50/70>
> Trace: 10a5e9 <system_call+59/a0>

This should fix it:

diff -u --recursive --new-file pre2.0.3/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
--- pre2.0.3/linux/net/unix/af_unix.c Mon May 13 23:02:54 1996
+++ linux/net/unix/af_unix.c Mon May 13 23:02:15 1996
@@ -505,6 +505,7 @@
return err;
skb->sk=sk; /* So they know it is us */
skb->free=1;
+ skb->h.filp=NULL;
sk->state=TCP_CLOSE;
unix_mkname(sunaddr, addr_len);
other=unix_find_other(sunaddr->sun_path, &err);
-----
Linus


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