Files
linux/drivers
Yunsheng Lin f5be79673f net: hns3: Fix for service_task not running problem after resetting
When hclge_ae_stop is called during resetting, it will cancel the
service_task by calling cancel_work_sync, which may cause the
service_task to exit without clearing HCLGE_STATE_SERVICE_SCHED
bit. If this happens, the service_task will never run again.

This patch fixes this problem by clearing it after calling
cancel_work_sync in hclge_ae_stop.

Fixes: 46a3df9f97 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-01 14:23:56 -04:00
..
2018-04-19 15:11:50 -07:00
…
…
2018-03-27 09:51:22 +02:00
…
2018-05-22 13:48:34 -04:00
2018-03-19 14:20:24 -05:00
2018-04-18 23:37:25 -04:00
…
…
…
…
2018-05-17 16:11:40 -04:00
…
…
…
…
…
…
…
…
…
…
2018-03-29 13:38:10 +03:00
…