diff options
| author | Jason Xing <[email protected]> | 2025-02-20 07:29:33 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2025-02-20 22:29:15 +0000 |
| commit | aa290f93a4af662b8d2d9e9df65798f9f24cecf3 (patch) | |
| tree | d0c448f8450d202852d38c200361bf8c5d8e779f /net/core/dev.c | |
| parent | bpf: Disable unsafe helpers in TX timestamping callbacks (diff) | |
| download | kernel-aa290f93a4af662b8d2d9e9df65798f9f24cecf3.tar.gz kernel-aa290f93a4af662b8d2d9e9df65798f9f24cecf3.zip | |
net-timestamp: Prepare for isolating two modes of SO_TIMESTAMPING
No functional changes here. Only add test to see if the orig_skb
matches the usage of application SO_TIMESTAMPING.
In this series, bpf timestamping and previous socket timestamping
are implemented in the same function __skb_tstamp_tx(). To test
the socket enables socket timestamping feature, this function
skb_tstamp_tx_report_so_timestamping() is added.
In the next patch, another check for bpf timestamping feature
will be introduced just like the above report function, namely,
skb_tstamp_tx_report_bpf_timestamping(). Then users will be able
to know the socket enables either or both of features.
Signed-off-by: Jason Xing <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
