TCP: An RST recevied suring the 3-way handshake requires a little more clean-up

This commit is contained in:
Gregory Nutt
2017-05-15 08:10:43 -06:00
parent 34e68a569b
commit 914c5dad0c
2 changed files with 38 additions and 4 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ void tcp_timer(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
FAR struct tcp_conn_s *listener;
conn->tcpstateflags = TCP_CLOSED;
ninfo("TCP state: TCP_CLOSED\n");
ninfo("TCP state: TCP_SYN_RCVD->TCP_CLOSED\n");
/* Find the listener for this connection. */