nuttx/net/tcp/tcp_input.c: Fix recovery when ackseq > unackseq. The comment near this line says "reset the number of outstanding, unacknowledged bytes". However, the code actually resets the whole TCP connection. It was changed to the current form in commit f034d84ea1
with no explanation of the intent. Recover the line to what it was before that commit.
This commit is contained in:
parent
dafa180d8d
commit
f185c79ea6
@ -512,7 +512,8 @@ found:
|
||||
nwarn(" sndseq=%u unacked=%u unackseq=%u ackseq=%u\n",
|
||||
tcp_getsequence(conn->sndseq), conn->unacked, unackseq,
|
||||
ackseq);
|
||||
goto reset;
|
||||
|
||||
conn->unacked = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user