diff options
author | Florin Coras <fcoras@cisco.com> | 2019-04-02 19:03:23 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-04 10:01:52 +0000 |
commit | 070fd4b046265e7aabe3f9e226e769441db18d79 (patch) | |
tree | 854602b66086d7d311bbdc2d17533bba783aae68 /src/vnet/tcp/tcp.c | |
parent | deb8af6eb71f9ad951137ee6e84e971c3ab23ec4 (diff) |
tcp: shorten wait in fin-wait-1 with fin rcvd
Change-Id: Ifddc32ab3da0e691ac3df74ff26e19f6fa00fef7
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tcp/tcp.c')
-rw-r--r-- | src/vnet/tcp/tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/tcp/tcp.c b/src/vnet/tcp/tcp.c index 09c47d989ac..78ada2b13c3 100644 --- a/src/vnet/tcp/tcp.c +++ b/src/vnet/tcp/tcp.c @@ -200,6 +200,8 @@ tcp_connection_cleanup (tcp_connection_t * tc) { tcp_main_t *tm = &tcp_main; + TCP_EVT_DBG (TCP_EVT_DELETE, tc); + /* Cleanup local endpoint if this was an active connect */ transport_endpoint_cleanup (TRANSPORT_PROTO_TCP, &tc->c_lcl_ip, tc->c_lcl_port); @@ -243,7 +245,6 @@ tcp_connection_cleanup (tcp_connection_t * tc) void tcp_connection_del (tcp_connection_t * tc) { - TCP_EVT_DBG (TCP_EVT_DELETE, tc); session_transport_delete_notify (&tc->connection); tcp_connection_cleanup (tc); } |