mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 01:25:07 -05:00
In the next Linux version the recvmmsg() system call will be probably fixed to not return socket errors (e.g. due to ICMP) when reading from the error queue. The NTP I/O code assumed this was the correct behavior. When the system call is fixed, a socket error on a client socket will cause chronyd to enter a busy loop consuming the CPU until the receive timeout is reached (8 seconds by default). Use getsockopt(SO_ERROR) to clear the socket error when reading from the error queue failed.
24 KiB
24 KiB