]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ptp: introduce ptp_cancel_worker_sync
authorVladimir Oltean <olteanv@gmail.com>
Fri, 27 Dec 2019 13:02:28 +0000 (15:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2019 04:31:40 +0000 (20:31 -0800)
commit544fed47af4d2174ac0b550e9c8da15c2dfdb117
tree5a8edec5ce8eeb87738109c4bca5fa833dfba124
parentdb99d5126fb9067c3123b40a33c9936235f059fa
ptp: introduce ptp_cancel_worker_sync

In order to effectively use the PTP kernel thread for tasks such as
timestamping packets, allow the user control over stopping it, which is
needed e.g. when the timestamping queues must be drained.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_clock.c
include/linux/ptp_clock_kernel.h