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:
81b95c1
)
tcp: fix skipping RSTs in SYN_SENT state
03/28103/1
author
Ivan Shvedunov
<ivan4th@gmail.com>
Wed, 29 Jul 2020 16:15:41 +0000
(19:15 +0300)
committer
Ivan Shvedunov
<ivan4th@gmail.com>
Wed, 29 Jul 2020 16:29:04 +0000
(19:29 +0300)
Type: fix
Signed-off-by: Ivan Shvedunov <ivan4th@gmail.com>
Change-Id: Ieddf8f03fdd14e71efaf4c78fe5b7f0d15c5cf5a
src/vnet/tcp/tcp_input.c
patch
|
blob
|
history
diff --git
a/src/vnet/tcp/tcp_input.c
b/src/vnet/tcp/tcp_input.c
index
dfd3db6
..
7f32571
100644
(file)
--- a/
src/vnet/tcp/tcp_input.c
+++ b/
src/vnet/tcp/tcp_input.c
@@
-215,6
+215,7
@@
tcp_rcv_rst (tcp_worker_ctx_t * wrk, tcp_connection_t * tc)
break;
case TCP_STATE_SYN_SENT:
/* Do not program ntf because the connection is half-open */
break;
case TCP_STATE_SYN_SENT:
/* Do not program ntf because the connection is half-open */
+ tc->rst_state = tc->state;
tcp_handle_rst (tc);
break;
case TCP_STATE_ESTABLISHED:
tcp_handle_rst (tc);
break;
case TCP_STATE_ESTABLISHED: