Re: Sockets permanently in CLOSE_WAIT state.

Andi Kleen (ak@muc.de)
20 Aug 1998 23:27:36 +0200


In article <19980818195423.B1233@aikon.incarnate.net>,
Andy Sloane <andude@guildsoftware.com> writes:
> --7JfCtLOvnd9MIVvH
> Content-Type: text/plain; charset=us-ascii

> Ok, here is the code to "exploit" this. It works under linux
> 2.0.35; that's all I've tested it on. Maybe it's already fixed in 2.1.

This is a known 2.0 deficiency, it doesn't do thread locking in net/socket.c.
You may say that sockets are not really thread-safe in 2.0
This is fixed in 2.1, and I can't reproduce it with 2.1.115.

-Andi

-
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.altern.org/andrebalsa/doc/lkml-faq.html