net: tcp: Validate incoming ACK number
Per RFC 793:
A new acknowledgment (called an "acceptable ack"), is one for which
the inequality below holds:
SND.UNA < SEG.ACK =< SND.NXT
If acknowledgement is received for sequence number which wasn't yet
sent, log an error and ignore it.
Signed-off-by:
Paul Sokolovsky <paul.sokolovsky@linaro.org>
Loading
Please sign in to comment