2016-12-06 13:50:23

by Jamal Hadi Salim

[permalink] [raw]
Subject: Re: [PATCH]net:sched:release lock before tcf_dump_walker() normal return to avoid deadlock

On 16-12-06 12:36 AM, Feng Deng wrote:
> From: Feng Deng<[email protected]>
>
> 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




2016-12-07 00:10:32

by Cong Wang

[permalink] [raw]
Subject: Re: [PATCH]net:sched:release lock before tcf_dump_walker() normal return to avoid deadlock

On Tue, Dec 6, 2016 at 5:50 AM, Jamal Hadi Salim <[email protected]> wrote:
> On 16-12-06 12:36 AM, Feng Deng wrote:
>>
>> From: Feng Deng<[email protected]>
>>
>> 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?

I don't even see a patch (tried Google too).