diff options
author | Eric Dumazet <edumazet@google.com> | 2021-07-19 13:11:07 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-07-20 13:07:07 +0300 |
commit | e93abb840a2c356ed2809c31fcedb058601ac2e4 (patch) | |
tree | e52a6fb74dce8895a5314955875df8b9287f94f7 /include/net/netns | |
parent | fef773fc8110d8124c73a5e6610f89e52814637d (diff) | |
download | linux-e93abb840a2c356ed2809c31fcedb058601ac2e4.tar.xz |
net/tcp_fastopen: remove tcp_fastopen_ctx_lock
Remove the (per netns) spinlock in favor of xchg() atomic operations.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Acked-by: Wei Wang <weiwan@google.com>
Link: https://lore.kernel.org/r/20210719101107.3203943-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/ipv4.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index b8620519eace..2f65701a43c9 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -174,7 +174,6 @@ struct netns_ipv4 { int sysctl_tcp_fastopen; const struct tcp_congestion_ops __rcu *tcp_congestion_control; struct tcp_fastopen_context __rcu *tcp_fastopen_ctx; - spinlock_t tcp_fastopen_ctx_lock; unsigned int sysctl_tcp_fastopen_blackhole_timeout; atomic_t tfo_active_disable_times; unsigned long tfo_active_disable_stamp; |