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:
8378261
)
tcp: fix syn-sent reset
58/25258/3
author
Florin Coras
<
[email protected]
>
Tue, 18 Feb 2020 22:51:26 +0000
(22:51 +0000)
committer
John Lo
<
[email protected]
>
Wed, 19 Feb 2020 03:20:52 +0000
(
03:20
+0000)
Type: fix
Signed-off-by: Florin Coras <
[email protected]
>
Change-Id: I2799ac9723ec3e7effe910bba401fc486c552cac
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
14f427c
..
67cec5a
100755
(executable)
--- a/
src/vnet/tcp/tcp_input.c
+++ b/
src/vnet/tcp/tcp_input.c
@@
-327,8
+327,8
@@
tcp_rcv_rst (tcp_worker_ctx_t * wrk, tcp_connection_t * tc)
tcp_connection_set_state (tc, TCP_STATE_CLOSED);
break;
case TCP_STATE_SYN_SENT:
- tcp_program_reset_ntf (wrk, tc);
- tcp_
connection_set_state (tc, TCP_STATE_CLOSED
);
+ /* Do not program ntf because the connection is half-open */
+ tcp_
handle_rst (tc
);
break;
case TCP_STATE_ESTABLISHED:
tcp_connection_timers_reset (tc);