[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100922.133309.246524529.davem@davemloft.net>
Date: Wed, 22 Sep 2010 13:33:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: penguin-kernel@...ove.SAKURA.ne.jp, linux-fsdevel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: fix a lockdep splat
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 22 Sep 2010 21:34:48 +0200
> [PATCH] net: fix a lockdep splat
>
> We have for each socket :
...
> This patch makes sure inet_csk_listen_stop() uses following lock order :
>
> write_lock_bh(&sk->sk_callback_lock)
> spin_lock(&sk->sk_slock)
> ...
> spin_unlock(&sk->sk_slock)
> write_unlock_bh(&sk->sk_callback_lock)
>
> Reported-by: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
FWIW, this looks fine to me.
I'll apply it when we have positive testing feedback from
Tetsuo.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists