summaryrefslogtreecommitdiff
path: root/drivers/net/nlmon.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2015-12-09 19:35:43 -0500
committerDavid S. Miller <davem@davemloft.net>2015-12-11 23:34:06 -0500
commit4cebdcec0933bf39c0ab42e8ce8c9d72f803fbe9 (patch)
treeb80eaa62f21b2f8a804475d79092930af02ee4f2 /drivers/net/nlmon.c
parentcaefe526d7b5af11d9b5977b2862eb144fa45537 (diff)
bnxt_en: Don't cancel sp_task from bnxt_close_nic().
When implementing driver reset from tx_timeout in the next patch, bnxt_close_nic() will be called from the sp_task workqueue. Calling cancel_work() on sp_task will hang the workqueue. Instead, set a new bit BNXT_STATE_IN_SP_TASK when bnxt_sp_task() is running. bnxt_close_nic() will wait for BNXT_STATE_IN_SP_TASK to clear before proceeding. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/nlmon.c')
0 files changed, 0 insertions, 0 deletions