Re: [patch] __lock_sock race condition in 2.3.18*

kuznet@ms2.inr.ac.ru
Mon, 20 Sep 1999 22:56:09 +0400 (MSK DST)


Hello!

> There must be a (SMP) race somewhere as I had a soft deadlock with process
> hanging in these three functions:
>
> c016d09b <tcp_listen_wlock+1a7/254>
> c0164ec1 <tcp_data_wait+1b9/274>
> c0154527 <__lock_sock+16f/1fc>

In all of them? All they use different wait queues...

> Now I believe the race is in the tcp_lhash_* things but I had a look at
> them and I couldn't find anything wrong. I'll try again...

Let's search... Is it passive ftp? (tcp_lhash_wlock is used only
while listen() and closing listening socket)

Alexey

-
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/