Re: [PATCH net-next v5 2/3] net_tstamp: add SCM_TS_OPT_ID for RAW sockets
From: Jason Xing <hidden>
Date: 2024-09-13 03:56:42
From: Jason Xing <hidden>
Date: 2024-09-13 03:56:42
On Wed, Sep 11, 2024 at 5:13 PM Vadim Fedorenko [off-list ref] wrote:
The last type of sockets which supports SOF_TIMESTAMPING_OPT_ID is RAW sockets. To add new option this patch converts all callers (direct and indirect) of _sock_tx_timestamp to provide sockcm_cookie instead of tsflags. And while here fix __sock_tx_timestamp to receive tsflags as __u32 instead of __u16. Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Vadim Fedorenko <redacted>
Reviewed-by: Jason Xing <redacted> Thanks!