summaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorJason Xing <kernelxing@tencent.com>2024-10-06 07:26:09 +0900
committerJakub Kicinski <kuba@kernel.org>2024-10-08 15:33:11 -0700
commitda5e06dee58ad153a4933fd40fc53d571bfef373 (patch)
tree1a734c2573b45769a6d10ce4ec48191d1168b79d /include/net/netns
parentada5c3229b32e48f4c8e09b6937e5ad98cc3675f (diff)
net-timestamp: namespacify the sysctl_tstamp_allow_data
Let it be tuned in per netns by admins. Signed-off-by: Jason Xing <kernelxing@tencent.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20241005222609.94980-1-kerneljasonxing@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/core.h b/include/net/netns/core.h
index 78214f1b43a2..9b36f0ff0c20 100644
--- a/include/net/netns/core.h
+++ b/include/net/netns/core.h
@@ -15,6 +15,7 @@ struct netns_core {
int sysctl_somaxconn;
int sysctl_optmem_max;
u8 sysctl_txrehash;
+ u8 sysctl_tstamp_allow_data;
#ifdef CONFIG_PROC_FS
struct prot_inuse __percpu *prot_inuse;