[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181119.185645.2204566540161345724.davem@davemloft.net>
Date: Mon, 19 Nov 2018 18:56:45 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: julietk@...ux.vnet.ibm.com
Cc: netdev@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
tlfalcon@...ux.vnet.ibm.com, mwb@...ux.vnet.ibm.com,
tyreld@...ux.vnet.ibm.com
Subject: Re: [PATCH net] net/ibmnvic: Fix deadlock problem in reset
From: Juliet Kim <julietk@...ux.vnet.ibm.com>
Date: Mon, 19 Nov 2018 15:59:22 -0600
> This patch changes to use rtnl_lock only during a reset to avoid
> deadlock that could occur when a thread operating close is holding
> rtnl_lock and waiting for reset_lock acquired by another thread,
> which is waiting for rtnl_lock in order to set the number of tx/rx
> queues during a reset.
>
> Also, we now setting the number of tx/rx queues during a soft reset
> for failover or LPM events.
>
> Signed-off-by: Juliet Kim <julietk@...ux.vnet.ibm.com>
Applied.
Powered by blists - more mailing lists