summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell
diff options
context:
space:
mode:
authorBongsu Jeon <bongsu.jeon@samsung.com>2020-12-31 05:59:26 +0300
committerDavid S. Miller <davem@davemloft.net>2021-01-06 03:06:34 +0300
commitf011539e723c737b74876ac47345e40270a3c384 (patch)
tree095d62371421093dbe2257e8fbee2f519c326f3a /drivers/net/ethernet/marvell
parent8dc879a1bfe0d710811b24f72b0664f52097673a (diff)
downloadlinux-f011539e723c737b74876ac47345e40270a3c384.tar.xz
net: nfc: nci: Change the NCI close sequence
If there is a NCI command in work queue after closing the NCI device at nci_unregister_device, The NCI command timer starts at flush_workqueue function and then NCI command timeout handler would be called 5 second after flushing the NCI command work queue and destroying the queue. At that time, the timeout handler would try to use NCI command work queue that is destroyed already. it will causes the problem. To avoid this abnormal situation, change the sequence to prevent the NCI command timeout handler from being called after destroying the NCI command work queue. Signed-off-by: Bongsu Jeon <bongsu.jeon@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
0 files changed, 0 insertions, 0 deletions