From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ying Xue Subject: Re: [PATCH 1/2] tipc: avoid possible deadlock while remove link_timeout() Date: Fri, 9 Aug 2013 12:36:15 +0800 Message-ID: <520471BF.8010504@windriver.com> References: <520376BA.5040509@huawei.com> <5204567E.2050805@windriver.com> <5204641F.60009@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Jon Maloy , Allan Stephens , "David S. Miller" , Netdev , To: Ding Tianhong Return-path: Received: from mail7.windriver.com ([128.224.252.3]:43483 "EHLO mail7.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753955Ab3HIEgn (ORCPT ); Fri, 9 Aug 2013 00:36:43 -0400 In-Reply-To: <5204641F.60009@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: On 08/09/2013 11:38 AM, Ding Tianhong wrote: > On 2013/8/9 10:39, Ying Xue wrote: >> On 08/08/2013 06:45 PM, Ding Tianhong wrote: > >>> >>> The problem is that the tipc_link_delete() will cancel the timer l_ptr->timer when >>> the b_ptr->lock is hold, but the l_ptr->timer still call b_ptr->lock to finish the >>> work, so the dead lock occurs. >>> >> >> I guess the issue would disappear if you apply below patch: >> >> http://article.gmane.org/gmane.network.tipc.general/4380 >> >> And the patch will be submitted into net-next tree soon. >> >> Regards, >> Ying >> > > yes, I test the patch and fix the 1/2 problem, but the 2/2 problem still occurs, if > the http://article.gmane.org/gmane.network.tipc.general/4380 and queue for stable, I will resend > 2/2 patch again and cancel the 1/2 patch. > Yes, I know. Just send patch #2. Regards, Ying > > >