From: virem...@linux.microsoft.com Sent: Friday, August 21, 2020 8:29 AM
> 
> There could be instances where a system stall prevents the timesync
> packaets to be consumed. And this might lead to more than one packet
> pending in the ring buffer. Current code empties one packet per callback
> and it might be a stale one. So drain all the packets from ring buffer
> on each callback.
> 
> Signed-off-by: Vineeth Pillai <virem...@linux.microsoft.com>
> ---
> 
>  v2:
>     - s/pr_warn/pr_warn_once/
> 
> ---
>  drivers/hv/hv_util.c | 19 ++++++++++++++++---
>  1 file changed, 16 insertions(+), 3 deletions(-)

Reviewed-by: Michael Kelley <mikel...@microsoft.com>

Reply via email to