]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net/tcp_fastopen: remove tcp_fastopen_ctx_lock
authorEric Dumazet <edumazet@google.com>
Mon, 19 Jul 2021 10:11:07 +0000 (03:11 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Jul 2021 10:07:07 +0000 (12:07 +0200)
commite93abb840a2c356ed2809c31fcedb058601ac2e4
treee52a6fb74dce8895a5314955875df8b9287f94f7
parentfef773fc8110d8124c73a5e6610f89e52814637d
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>
include/net/netns/ipv4.h
net/ipv4/tcp_fastopen.c
net/ipv4/tcp_ipv4.c