[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <64b28372-e203-92db-bc67-1c308334042f@ti.com>
Date: Wed, 4 Dec 2019 12:07:22 +0200
From: Grygorii Strashko <grygorii.strashko@...com>
To: Jesper Dangaard Brouer <brouer@...hat.com>,
Jonathan Lemon <jonathan.lemon@...il.com>
CC: <netdev@...r.kernel.org>, <davem@...emloft.net>,
<kernel-team@...com>,
Ilias Apalodimas <ilias.apalodimas@...aro.org>
Subject: Re: [net PATCH] xdp: obtain the mem_id mutex before trying to remove
an entry.
On 04/12/2019 10:32, Jesper Dangaard Brouer wrote:
> On Tue, 3 Dec 2019 14:01:14 -0800
> Jonathan Lemon <jonathan.lemon@...il.com> wrote:
>
>> A lockdep splat was observed when trying to remove an xdp memory
>> model from the table since the mutex was obtained when trying to
>> remove the entry, but not before the table walk started:
>>
>> Fix the splat by obtaining the lock before starting the table walk.
>>
>> Fixes: c3f812cea0d7 ("page_pool: do not release pool until inflight == 0.")
>> Reported-by: Grygorii Strashko <grygorii.strashko@...com>
>> Signed-off-by: Jonathan Lemon <jonathan.lemon@...il.com>
>
> Have you tested if this patch fix the problem reported by Grygorii?
>
> Link: https://lore.kernel.org/netdev/c2de8927-7bca-612f-cdfd-e9112fee412a@ti.com
>
> Grygorii can you test this?
Thanks.
I do not see this trace any more and networking is working after if down/up
Tested-by: Grygorii Strashko <grygorii.strashko@...com>
--
Best regards,
grygorii
Powered by blists - more mailing lists