diff options
author | Dave Barach <dbarach@cisco.com> | 2017-08-22 17:56:46 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-08-25 22:04:28 +0000 |
commit | d84ba85c0071a28fe888c912c3dc37f471b0caeb (patch) | |
tree | f669d71373fc75ceeab0d2c225440e832aa38e10 /src/vnet/tcp/tcp_input.c | |
parent | 206b2d4342b1c1b7715c7d442f582da02e5ec9b9 (diff) |
TCP horizontal scaling
- Remove frame handoff support machinery. We haven't used it in a long
time.
- Configuration support for the local endpoints bihash table
- Drop lookup failure packets in tcp46_syn_sent
Change-Id: Icd51e6785f74661c741e76fac23d21c4cc998d17
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/tcp/tcp_input.c')
-rw-r--r-- | src/vnet/tcp/tcp_input.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp_input.c b/src/vnet/tcp/tcp_input.c index 95f9ade1369..66e2b88fc5f 100644 --- a/src/vnet/tcp/tcp_input.c +++ b/src/vnet/tcp/tcp_input.c @@ -1882,7 +1882,11 @@ tcp46_syn_sent_inline (vlib_main_t * vm, vlib_node_runtime_t * node, tc0 = tcp_half_open_connection_get (vnet_buffer (b0)-> tcp.connection_index); - ASSERT (tc0); + if (PREDICT_FALSE (tc0 == 0)) + { + error0 = TCP_ERROR_INVALID_CONNECTION; + goto drop; + } ack0 = vnet_buffer (b0)->tcp.ack_number; seq0 = vnet_buffer (b0)->tcp.seq_number; |