summaryrefslogtreecommitdiff
path: root/drivers/net/wireguard/cookie.h
diff options
context:
space:
mode:
authorSergey Organov <sorganov@gmail.com>2020-07-15 18:42:58 +0300
committerJakub Kicinski <kuba@kernel.org>2020-07-16 11:31:54 -0700
commit199560343e9dac0e5f9e54307de767ef3fc781f4 (patch)
tree036d9c68704138752331f213ec477a99a52adef2 /drivers/net/wireguard/cookie.h
parente53a57e56fce787ee4d02ffc2cf9ba46f0173f58 (diff)
net: fec: initialize clock with 0 rather than current kernel time
Initializing with 0 makes it much easier to identify time stamps from otherwise uninitialized clock. Initialization of PTP clock with current kernel time makes little sense as PTP time scale differs from UTC time scale that kernel time represents. It only leads to confusion when no actual PTP initialization happens, as these time scales differ in a small integer number of seconds (37 at the time of writing.) Signed-off-by: Sergey Organov <sorganov@gmail.com> Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wireguard/cookie.h')
0 files changed, 0 insertions, 0 deletions