diff options
| author | Jason Xing <kernelxing@tencent.com> | 2024-10-06 07:26:09 +0900 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-08 15:33:11 -0700 |
| commit | da5e06dee58ad153a4933fd40fc53d571bfef373 (patch) | |
| tree | 1a734c2573b45769a6d10ce4ec48191d1168b79d /include/net/netns | |
| parent | net: dsa: mv88e6xxx: Add FID map cache (diff) | |
| download | linux-da5e06dee58ad153a4933fd40fc53d571bfef373.tar.gz linux-da5e06dee58ad153a4933fd40fc53d571bfef373.zip | |
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.h | 1 |
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; |
