diff options
author | Florin Coras <fcoras@cisco.com> | 2017-07-18 05:38:03 -0400 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2017-07-21 19:20:09 -0400 |
commit | 6534b7aa13bc5bed15ed87f47bb766405963e9e8 (patch) | |
tree | 999524eff2a5c811ef61e65354e6018c8ae3de33 /src/vnet/session/session_api.c | |
parent | 161c59c75c667ce7a3c1d6173723831dc30e994c (diff) |
Improvements to tcp rx path and debugging
- Increment rcv_nxt for fin packets
- Call tcp_segment_rcv only if buffer has data
- Parse rcv opts before deleting half-open connection
- Fix initial rcv_wnd
- Improved event logging
Change-Id: I9b83c04f432c4cec832c480b03e534deff02c3b1
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_api.c')
-rwxr-xr-x | src/vnet/session/session_api.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c index 60f764af48a..6bee3e27bdb 100755 --- a/src/vnet/session/session_api.c +++ b/src/vnet/session/session_api.c @@ -184,13 +184,6 @@ send_session_connected_callback (u32 app_index, u32 api_context, } vl_msg_api_send_shmem (q, (u8 *) & mp); - - /* Remove client if connect failed */ - if (!is_fail) - { - s->session_state = SESSION_STATE_READY; - } - return 0; } |