Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
72ab186
)
tcp: close session on retransmit failure
18/23518/2
author
Florin Coras
<
[email protected]
>
Fri, 15 Nov 2019 07:32:08 +0000
(23:32 -0800)
committer
Andrew Yourtchenko
<
[email protected]
>
Thu, 28 Nov 2019 10:06:34 +0000
(10:06 +0000)
Type: fix
Since the connection is closed, also mark the session as closed.
Change-Id: Ica3849c3ff12fa7a65ba64e563a60d6c94f5ceca
Signed-off-by: Florin Coras <
[email protected]
>
(cherry picked from commit
52be67435eb4615b899950b42b8ff72d258fbcb3
)
src/vnet/tcp/tcp_output.c
patch
|
blob
|
history
diff --git
a/src/vnet/tcp/tcp_output.c
b/src/vnet/tcp/tcp_output.c
index
094c84c
..
c1ecaba
100644
(file)
--- a/
src/vnet/tcp/tcp_output.c
+++ b/
src/vnet/tcp/tcp_output.c
@@
-1515,6
+1515,7
@@
tcp_timer_retransmit_handler (u32 tc_index)
tcp_send_reset (tc);
tcp_connection_set_state (tc, TCP_STATE_CLOSED);
session_transport_closing_notify (&tc->connection);
+ session_transport_closed_notify (&tc->connection);
tcp_connection_timers_reset (tc);
tcp_timer_update (tc, TCP_TIMER_WAITCLOSE, tcp_cfg.closewait_time);
return;