Re: [Linuxptp-devel] [PATCH v2] ntpshm: Invalidate SHM data before releasing the servo

2023-04-30 Thread Richard Cochran
On Thu, Mar 16, 2023 at 03:47:47PM +0100, Maciek Machnikowski wrote: > The SHM is not cleared upon servo release when exiting the tool. This > leaves the last update in the shared memory region marked as valid. > > Users may not expect such behavior. If the configuration changed, or the > tool

[Linuxptp-devel] [PATCH v2] ntpshm: Invalidate SHM data before releasing the servo

2023-03-16 Thread Maciek Machnikowski
The SHM is not cleared upon servo release when exiting the tool. This leaves the last update in the shared memory region marked as valid. Users may not expect such behavior. If the configuration changed, or the tool was restarted to reset the state after an unexpected clock step (e.g. after