Re: [PATCH] qlcnic - Fix scheduling while atomic bug
From: David Miller <davem@davemloft.net>
Date: 2012-09-27 23:26:09
From: David Miller <davem@davemloft.net>
Date: 2012-09-27 23:26:09
From: <redacted> Date: Tue, 25 Sep 2012 10:53:19 -0700
From: Narendra K <redacted> In the device close path, 'qlcnic_fw_destroy_ctx' and 'qlcnic_poll_rsp' call msleep. But 'qlcnic_fw_destroy_ctx' and 'qlcnic_poll_rsp' are called with 'adapter->tx_clean_lock' spin lock held resulting in scheduling while atomic bug causing the following trace. I observed that the commit 012dc19a45b2b9cc2ebd14aaa401cf782c2abba4 from John Fastabend addresses a similar issue in ixgbevf driver. Adopting the same approach used in the commit, this patch uses mdelay to address the issue.
...
Signed-off-by: Narendra K <redacted>
Applied, thanks. In the future please format your Subject lines for patches as "subsytem: Description." instead of this "subsystem - Description." layout. Thanks.