mbox series

[net-next,0/3] net-timestamp: add some trivial

Message ID 20240930092416.80830-1-kerneljasonxing@gmail.com (mailing list archive)
Headers show
Series net-timestamp: add some trivial | expand

Message

Jason Xing Sept. 30, 2024, 9:24 a.m. UTC
From: Jason Xing <kernelxing@tencent.com>

When reading through the whole feature, I feel we can do these things to
make it more robust. They are trivial changes, not big ones.

Jason Xing (3):
  net-timestamp: add strict check when setting tx flags
  net-timestamp: add OPT_ID_TCP test in selftests
  net-timestamp: namespacify the sysctl_tstamp_allow_data

 include/net/netns/core.h                  |  1 +
 include/net/sock.h                        |  2 --
 net/core/net_namespace.c                  |  1 +
 net/core/skbuff.c                         |  2 +-
 net/core/sock.c                           |  4 ++++
 net/core/sysctl_net_core.c                | 18 +++++++++---------
 tools/testing/selftests/net/txtimestamp.c |  6 ++++++
 7 files changed, 22 insertions(+), 12 deletions(-)