net: tcp: Fix comment when ACK timeouts
The comment describing ACK timeout in LAST_ACK state had typos and was a bit unclear. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
1725c1efab
commit
f3c47f29ff
1 changed files with 3 additions and 2 deletions
|
@ -1253,8 +1253,9 @@ static void ack_timeout(struct k_work *work)
|
|||
|
||||
if (net_tcp_get_state(tcp) == NET_TCP_LAST_ACK) {
|
||||
/* We did not receive the last ACK on time. We can only
|
||||
* close the connection at time point. We also do not send
|
||||
* anything in this last state but will go to to CLOSED state.
|
||||
* close the connection at this point. We will not send
|
||||
* anything to peer in this last state, but will go directly
|
||||
* to to CLOSED state.
|
||||
*/
|
||||
net_tcp_change_state(tcp, NET_TCP_CLOSED);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue