Skip to content

SO_TIMESTAMPING fixes

Willem de Bruijn netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ipv6: add missing tx timestamping on IPPROTO_RAWnet/ipv6/raw.c+2 -00 replies
2/2net: add missing SOF_TIMESTAMPING_OPT_ID supportinclude/net/sock.h net/can/raw.c net/ipv4/raw.c +2 more+27 -100 replies

Reviews trailers per patch

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

PatchSoheil Hassas Yeganeh
1/2A-b
2/2A-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/2] SO_TIMESTAMPING fixes

From: Willem de Bruijn <[email protected]>

Fix two omissions:

- tx timestamping is missing for AF_INET6/SOCK_RAW/IPPROTO_RAW
- SOF_TIMESTAMPING_OPT_ID is missing for IPPROTO_RAW, PF_PACKET, CAN

Discovered while expanding the selftest in

tools/testing/selftests/networking/timestamping/txtimestamp.c

Will send the test patchset to net-next once the fixes make it to that branch. For now, it is available at

https://github.com/wdebruij/linux/commits/txtimestamp-test-1

Willem de Bruijn (2):
ipv6: add missing tx timestamping on IPPROTO_RAW
net: add missing SOF_TIMESTAMPING_OPT_ID support

 include/net/sock.h     | 25 +++++++++++++++++++++----
 net/can/raw.c          |  2 +-
 net/ipv4/raw.c         |  2 +-
 net/ipv6/raw.c         |  2 ++
 net/packet/af_packet.c |  6 +++---
 5 files changed, 28 insertions(+), 9 deletions(-)
Signature · 1 line
2.20.0.405.gbc1bbc6f85-goog