]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
authorVadim Fedorenko <vadfed@meta.com>
Mon, 6 Mar 2023 16:07:38 +0000 (08:07 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jan 2024 16:10:23 +0000 (17:10 +0100)
commit5d586f7ca0fc81097724d09fc0997137a77ef9dd
treeeb154f83b40d6b49783454185af9f98026f849a2
parentb2130366a952ba9896dc880dc4c6984f013a4d27
net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps

[ Upstream commit 8ca5a5790b9a1ce147484d2a2c4e66d2553f3d6c ]

When the feature was added it was enabled for SW timestamps only but
with current hardware the same out-of-order timestamps can be seen.
Let's expand the area for the feature to all types of timestamps.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 7f6ca95d16b9 ("net: Implement missing getsockopt(SO_TIMESTAMPING_NEW)")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ipv4/ip_output.c
net/ipv6/ip6_output.c