summaryrefslogtreecommitdiffstats
path: root/net/core/sysctl_net_core.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-04-29 13:40:22 +0000
committerJakub Kicinski <kuba@kernel.org>2024-04-30 18:46:52 -0700
commitd480dc76d9f8a72671a6f9a7d987d2389c2e2ee4 (patch)
treea39bbf34dff1ec02f5eca5fbda21c1941e0b9c08 /net/core/sysctl_net_core.c
parenta86a0661b86f310c0b73a30c829648864f0b2619 (diff)
downloadlinux-stable-d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4.tar.gz
linux-stable-d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4.tar.bz2
linux-stable-d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4.zip
net: move sysctl_skb_defer_max to net_hotdata
sysctl_skb_defer_max is used in TCP fast path, move it to net_hodata. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20240429134025.1233626-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sysctl_net_core.c')
-rw-r--r--net/core/sysctl_net_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index e75375d54b9e..118c78615543 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -654,7 +654,7 @@ static struct ctl_table net_core_table[] = {
},
{
.procname = "skb_defer_max",
- .data = &sysctl_skb_defer_max,
+ .data = &net_hotdata.sysctl_skb_defer_max,
.maxlen = sizeof(unsigned int),
.mode = 0644,
.proc_handler = proc_dointvec_minmax,