diff options
author | Florin Coras <fcoras@cisco.com> | 2017-08-18 19:28:03 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-08-25 16:39:42 +0000 |
commit | 1f152cd6faf96b524b6b7071b5cffe1916f9c5cc (patch) | |
tree | b778792a51e949cd1133b5ca03e5645538e6cf1a /src/vnet/session/segment_manager.c | |
parent | 27de761048e561f849fdda690d69e5644a9360d4 (diff) |
tcp: retransmit and multi-buffer segment fixes and improvements
- set session state as closed on session manager delete
- enable retransmit as opposed to persist timer after persist timer completes
- properly discard buffer chain bytes when new data overlaps ooo
segments
- don't use rxt bytes in snd space estimate used on tx path
Change-Id: Id9cab686e532e5fe70c775d5440260e8eb890a9f
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/segment_manager.c')
-rw-r--r-- | src/vnet/session/segment_manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/segment_manager.c b/src/vnet/session/segment_manager.c index 262b7faab92..43977063e0e 100644 --- a/src/vnet/session/segment_manager.c +++ b/src/vnet/session/segment_manager.c @@ -224,6 +224,7 @@ segment_manager_del (segment_manager_t * sm) session = stream_session_get (session_index, thread_index); /* Instead of directly removing the session call disconnect */ + session->session_state = SESSION_STATE_CLOSED; session_send_session_evt_to_thread (stream_session_handle (session), FIFO_EVENT_DISCONNECT, thread_index); |