[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20060730.205623.91207946.davem@davemloft.net>
Date: Sun, 30 Jul 2006 20:56:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Matt_Domsch@...l.com
Cc: herbert@...dor.apana.org.au, yoshfuji@...ux-ipv6.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls
From: Matt Domsch <Matt_Domsch@...l.com>
Date: Sun, 30 Jul 2006 22:32:10 -0500
> swapper/0 is trying to acquire lock:
> (slock-AF_INET6){-+..}, at: [<ffffffff80414fda>] sk_clone+0xd2/0x3a8
>
> but task is already holding lock:
> (slock-AF_INET6){-+..}, at: [<ffffffff883d71a8>] tcp_v6_rcv+0x30e/0x76e [ipv6]
The tcp_v6_rcv() code path is holding the slock on the parent
listening socket, whereas in sk_clone() we have grabbed the
socket slock on the newly allocated "newsk" socket. These
are thus two seperate locks, although they are in the same
locking class "slock-AF_INET6".
I don't know why the lock validator is complaining about this.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists