Re: [PATCH] qlcnic: fix deadlock bug

2018-01-29 Thread David Miller
From: Junxiao Bi Date: Mon, 29 Jan 2018 17:53:42 +0800 > The following soft lockup was caught. This is a deadlock caused by > recusive locking. > > Process kworker/u40:1:28016 was holding spin lock "mbx->queue_lock" in > qlcnic_83xx_mailbox_worker(), while a softirq came in and ask the same spin

[PATCH] qlcnic: fix deadlock bug

2018-01-29 Thread Junxiao Bi
The following soft lockup was caught. This is a deadlock caused by recusive locking. Process kworker/u40:1:28016 was holding spin lock "mbx->queue_lock" in qlcnic_83xx_mailbox_worker(), while a softirq came in and ask the same spin lock in qlcnic_83xx_enqueue_mbx_cmd(). This lock should be hold by