]> git.dujemihanovic.xyz Git - linux.git/commit
net: Implement missing SO_TIMESTAMPING_NEW cmsg support
authorThomas Lange <thomas@corelatus.se>
Thu, 4 Jan 2024 08:57:44 +0000 (09:57 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jan 2024 16:18:55 +0000 (08:18 -0800)
commit382a32018b74f407008615e0e831d05ed28e81cd
treea24cbc4c3eb23c5d5c44347b1c7aadf07c745547
parente009b2efb7a8850498796b360043ac25c8d3d28f
net: Implement missing SO_TIMESTAMPING_NEW cmsg support

Commit 9718475e6908 ("socket: Add SO_TIMESTAMPING_NEW") added the new
socket option SO_TIMESTAMPING_NEW. However, it was never implemented in
__sock_cmsg_send thus breaking SO_TIMESTAMPING cmsg for platforms using
SO_TIMESTAMPING_NEW.

Fixes: 9718475e6908 ("socket: Add SO_TIMESTAMPING_NEW")
Link: https://lore.kernel.org/netdev/6a7281bf-bc4a-4f75-bb88-7011908ae471@app.fastmail.com/
Signed-off-by: Thomas Lange <thomas@corelatus.se>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20240104085744.49164-1-thomas@corelatus.se
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/sock.c