lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200227.120527.959405071878620785.davem@davemloft.net>
Date:   Thu, 27 Feb 2020 12:05:27 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     amaftei@...arflare.com
Cc:     netdev@...r.kernel.org, linux-net-drivers@...arflare.com,
        scrum-linux@...arflare.com
Subject: Re: [PATCH net] sfc: fix timestamp reconstruction at 16-bit
 rollover points

From: "Alex Maftei (amaftei)" <amaftei@...arflare.com>
Date: Wed, 26 Feb 2020 17:33:19 +0000

> We can't just use the top bits of the last sync event as they could be
> off-by-one every 65,536 seconds, giving an error in reconstruction of
> 65,536 seconds.
> 
> This patch uses the difference in the bottom 16 bits (mod 2^16) to
> calculate an offset that needs to be applied to the last sync event to
> get to the current time.
> 
> Signed-off-by: Alexandru-Mihai Maftei <amaftei@...arflare.com>

Applied and queued up for -stable, thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ