Re: net: deadlock on genl_mutex

From: Cong Wang
Date: Thu Dec 08 2016 - 19:14:17 EST


On Thu, Dec 8, 2016 at 10:02 AM, Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
> Chain exists of:
> Possible unsafe locking scenario:
>
> CPU0 CPU1
> ---- ----
> lock(nlk->cb_mutex);
> lock(&table[i].mutex);
> lock(nlk->cb_mutex);
> lock(genl_mutex);

Similar to the unix bindlock, this one looks false positive to me too.