Skip to content

sctp: packet timestamp fixes

Marcelo Ricardo Leitner linux-sctp lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sctp: use the same clock as if sock source timestamps were onnet/sctp/sm_make_chunk.c+2 -21 reply
2/3sctp: update the netstamp_needed counter when copying socketsinclude/net/sock.h net/core/sock.c net/sctp/socket.c+5 -21 reply
3/3sctp: also copy sk_tsflags when copying the socketnet/sctp/socket.c+1 -01 reply

Reviews trailers per patch

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

PatchVlad Yasevich
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/3] sctp: packet timestamp fixes

Hi,

These a couple of fixes regarding sctp/packet timestamps.

Dmitry Vyukov <[email protected]> reported the counter leak on missing net_enable_timestamp() (2nd patch) and further testing here revealed the other two issues.

Please consider these to -stable.

Thanks!

Marcelo Ricardo Leitner (3):
sctp: use the same clock as if sock source timestamps were on
sctp: update the netstamp_needed counter when copying sockets
sctp: also copy sk_tsflags when copying the socket

 include/net/sock.h       | 2 ++
 net/core/sock.c          | 2 --
 net/sctp/sm_make_chunk.c | 4 ++--
 net/sctp/socket.c        | 4 ++++
 4 files changed, 8 insertions(+), 4 deletions(-)
Signature · 1 line
2.5.0