aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-08-03 13:54:16 +0000
committerJakub Kicinski <kuba@kernel.org>2023-08-04 15:33:39 -0700
commitc4a6b2da4b59d4819e1d35446ca9363166388051 (patch)
tree1e768d38db013e883867e76219c1b85ab61bdeb8 /net/ipv4/tcp_output.c
parentfaa9039161ef0271bc36c2bf4d01c7897f07524d (diff)
downloadlinux-c4a6b2da4b59d4819e1d35446ca9363166388051.tar.gz
linux-c4a6b2da4b59d4819e1d35446ca9363166388051.tar.bz2
linux-c4a6b2da4b59d4819e1d35446ca9363166388051.zip
tcp_metrics: hash table allocation cleanup
After commit 098a697b497e ("tcp_metrics: Use a single hash table for all network namespaces.") we can avoid calling tcp_net_metrics_init() for each new netns. Instead, rename tcp_net_metrics_init() to tcp_metrics_hash_alloc(), and move it to __init section. Also move tcpmhash_entries to __initdata section. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://lore.kernel.org/r/20230803135417.2716879-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions