[PATCH net] net/ibmnvic: Fix deadlock problem in reset

David Miller davem at davemloft.net
Tue Nov 20 13:56:45 AEDT 2018


From: Juliet Kim <julietk at linux.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 at linux.vnet.ibm.com>

Applied.


More information about the Linuxppc-dev mailing list