Files
twx-linux/include/net
Willem de Bruijn cd7295d0be net: add missing SOF_TIMESTAMPING_OPT_ID support
[ Upstream commit 8f932f762e ]

SOF_TIMESTAMPING_OPT_ID is supported on TCP, UDP and RAW sockets.
But it was missing on RAW with IPPROTO_IP, PF_PACKET and CAN.

Add skb_setup_tx_timestamp that configures both tx_flags and tskey
for these paths that do not need corking or use bytestream keys.

Fixes: 09c2d251b7 ("net-timestamp: add key to disambiguate concurrent datagrams")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-15 14:15:04 +02:00
..
…
2021-06-10 13:24:06 +02:00
…
2022-01-05 12:34:58 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-11-10 11:27:54 +01:00
…
2020-07-22 09:31:58 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-08-04 12:23:46 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-12-14 10:18:04 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-03-23 09:10:40 +01:00