Re: 1.99.3 (pre2.0.3) ooops

Linus Torvalds (torvalds@cs.helsinki.fi)
Tue, 14 May 1996 09:02:12 +0300 (EET DST)


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