Subject: Re: IPV6 possible recursive locking

From: Arjan van de Ven <[email-masked]>
Date: Fri, 04 Aug 2006 17:56:27 -0700

Herbert Xu wrote:
>>  [<ffffffff812a6ac4>] sk_clone+0xd4/0x350
>>  [<ffffffff812f6fb1>] inet_csk_clone+0x11/0x70
>>  [<ffffffff81300b94>] tcp_create_openreq_child+0x24/0x480
>>  [<ffffffff8136e7c2>] tcp_v6_syn_recv_sock+0x2c2/0x6f0
>>  [<ffffffff81301219>] tcp_check_req+0x229/0x3a0
>>  [<ffffffff8136d7bd>] tcp_v6_do_rcv+0x17d/0x400
>>  [<ffffffff81370215>] tcp_v6_rcv+0x7e5/0x850
> 
> Yes this is a known problem.  The lock validator needs to learn how
> to distinguish between parent and child sockets.

Hmm I remember fixing sk_clone before.. or was that skb_clone, I'd have ot check.
Anyway I'll check this out either later today or tomorrow in more detail
and will send a patch.