Skip to content

Convert network timestamps to be y2038 safe

Deepa Dinamani linux-sctp netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v14 patches 10 repliesSuperseded

Changes in v2 from the cover letter

Move and rename inet_current_time() as discussed Squash patches 1 and 2
Reword commit text for patch 2/3
Carry over review tags

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: ipv4: Convert IP network timestamps to be y2038 safeinclude/net/ip.h net/ipv4/af_inet.c net/ipv4/icmp.c +1 more+35 -122 replies
2/3net: ipv4: tcp_probe: Replace timespec with timespec64net/ipv4/tcp_probe.c+4 -41 reply
3/3net: sctp: Convert log timestamps to be y2038 safenet/sctp/probe.c+5 -50 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchArnd BergmannNeil HormanYOSHIFUJI Hideaki
1/3A-b A-b
2/3R-b A-b
3/3R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] Convert network timestamps to be y2038 safe

Introduction:

The series is aimed at transitioning network timestamps to being y2038 safe.
All patches can be reviewed and merged independently.

Socket timestamps and ioctl calls will be handled separately.

Thanks to Arnd Bergmann for discussing solution options with me.

Solution:

Data type struct timespec is not y2038 safe. Replace timespec with struct timespec64 which is y2038 safe.

Changes v1 -> v2:
Move and rename inet_current_time() as discussed Squash patches 1 and 2
Reword commit text for patch 2/3
Carry over review tags

Deepa Dinamani (3):
net: ipv4: Convert IP network timestamps to be y2038 safe
net: ipv4: tcp_probe: Replace timespec with timespec64
net: sctp: Convert log timestamps to be y2038 safe

 include/net/ip.h      |  2 ++
 net/ipv4/af_inet.c    | 26 ++++++++++++++++++++++++++
 net/ipv4/icmp.c       |  5 +----
 net/ipv4/ip_options.c | 14 ++++++--------
 net/ipv4/tcp_probe.c  |  8 ++++----
 net/sctp/probe.c      | 10 +++++-----
 6 files changed, 44 insertions(+), 21 deletions(-)
Signature · 10 lines
1.9.1

Cc: Vlad Yasevich <[email protected]>
Cc: Neil Horman <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Alexey Kuznetsov <[email protected]>
Cc: James Morris <[email protected]>
Cc: Hideaki YOSHIFUJI <[email protected]>
Cc: Patrick McHardy <[email protected]>
Cc: [email protected]