Re: [BUG] before() integer overflow

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nicolas Bareil <nico@...>
Cc: <netdev@...>
Date: Tuesday, August 5, 2008 - 1:40 pm

Nicolas Bareil wrote:
[...]

That's exactly what we want.  The initial sequence number is random (and
TCP streams are not limited to 4GB) so the sequence can wrap around.  0
follows 0xffffffff.  If we were to compare sequence numbers from two
packets more than 2GB apart in the stream, this comparison would give
the wrong answer, but currently this is not likely to be a problem.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG] before() integer overflow, Nicolas Bareil, (Tue Aug 5, 1:19 pm)
Re: [BUG] before() integer overflow, David Stevens, (Tue Aug 5, 1:51 pm)
Re: [BUG] before() integer overflow, Nicolas Bareil, (Tue Aug 5, 2:24 pm)
Re: [BUG] before() integer overflow, Ben Hutchings, (Tue Aug 5, 1:40 pm)