aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-14 09:22:20 -0700
committerDamjan Marion <dmarion@me.com>2021-05-14 18:06:22 +0000
commit7dcc339ad4a4a7f7e1f039a8b2950c35665bd5c3 (patch)
tree807525cf20b7ce2282c07b16a68ef9205083ef4c /src/vnet/tcp/tcp.h
parent2034f35308d199f7b0cc1ddceaa2e6ed1576bc18 (diff)
tcp: remove ho lock
Half-open sessions are allocated by main thread and cleaned up on main with timers. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I37f000920a45908b62b5501ae9d54a88a9e4c609
Diffstat (limited to 'src/vnet/tcp/tcp.h')
-rw-r--r--src/vnet/tcp/tcp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h
index a02a295e72b..2561e439794 100644
--- a/src/vnet/tcp/tcp.h
+++ b/src/vnet/tcp/tcp.h
@@ -221,8 +221,6 @@ typedef struct _tcp_main
/** Dispatch table by state and flags */
tcp_lookup_dispatch_t dispatch_table[TCP_N_STATES][64];
- clib_spinlock_t half_open_lock;
-
/** Pool of half-open connections on which we've sent a SYN */
tcp_connection_t *half_open_connections;