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:
6484f4b
)
tcp: fix connection refused error
44/28644/2
author
Florin Coras
<fcoras@cisco.com>
Wed, 2 Sep 2020 17:51:10 +0000
(10:51 -0700)
committer
Florin Coras
<florin.coras@gmail.com>
Wed, 2 Sep 2020 17:54:31 +0000
(17:54 +0000)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I436741e061f11685980a71fb3989befc7af1e081
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
de9d891
..
a86161c
100644
(file)
--- a/
src/vnet/tcp/tcp_input.c
+++ b/
src/vnet/tcp/tcp_input.c
@@
-164,7
+164,7
@@
tcp_handle_rst (tcp_connection_t * tc)
tcp_connection_cleanup (tc);
break;
case TCP_STATE_SYN_SENT:
- session_stream_connect_notify (&tc->connection,
1 /* fail */
);
+ session_stream_connect_notify (&tc->connection,
SESSION_E_REFUSED
);
tcp_connection_cleanup (tc);
break;
case TCP_STATE_ESTABLISHED: