Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752827AbcLFNuX (ORCPT ); Tue, 6 Dec 2016 08:50:23 -0500 Received: from mail-io0-f180.google.com ([209.85.223.180]:36087 "EHLO mail-io0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751798AbcLFNuV (ORCPT ); Tue, 6 Dec 2016 08:50:21 -0500 Subject: Re: [PATCH]net:sched:release lock before tcf_dump_walker() normal return to avoid deadlock To: Feng Deng , "David S. Miller" References: Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, feng.deng@cortina-access.com, Roman Mashak , Cong Wang From: Jamal Hadi Salim Message-ID: Date: Tue, 6 Dec 2016 08:50:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 331 Lines: 16 On 16-12-06 12:36 AM, Feng Deng wrote: > From: Feng Deng > > release lock before tcf_dump_walker() normal return to avoid deadlock > /Scratching my head. I am probably missing something obvious. What are the condition under which this deadlock will happen? Do you have a testcase we can try? cheers, jamal