RFC-1185から
Avoiding reuse of sequence numbers within the same connection is
simple in principle: enforce a segment lifetime shorter than the
time it takes to cycle the sequence space, whose size is
effectively 2**31.
If the maximum effective bandwidth at which TCP
is able to transmit over a particular path is B bytes per second,
then the following constraint must be satisfied for error-free
operation:
2**31 / B > MSL (secs)
つまり、簡単に言えば、TCPがそれを処理します。この条件に加えて、TCPには、シーケンス番号のラップアラウンド条件を処理するためのタイムスタンプの概念もあります。上記の同じRFCから
Timestamps carried from sender to receiver in TCP Echo options can
also be used to prevent data corruption caused by sequence number
wrap-around, as this section describes.
具体的には、TCPはPAWSメカニズムを使用してTCPラップアラウンドケースを処理します。PAWSの詳細については、RFC-1323を参照してください。