Skip to contentSkip to conversation

Advance fast path pointer for first block only

PATCH David Miller 1 participant 3 messages Feb 5, 2007 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
author maintainer
#3 lore raw

Re: [PATCH 2/3] Seperate DSACK from SACK fast path

In reply to a message not in the archive

From: Baruch Even <[email protected]>
Date: Fri, 02 Feb 2007 16:41:21 +0200

Quoted 10 lines

Move DSACK code outside the SACK fast-path checking code. If the DSACK determined that the information was too old we stayed with a partial cache copied. Most likely this matters very little since the next packet will not be DSACK and we will find it in the cache. but it's still not good form and there is little reason to couple the two checks.

Since the SACK receive cache doesn't need the data to be in host order we also remove the ntohl in the checking loop.

Thanks for fixing up the endianness annotations, applied.

author maintainer Applied
#5 lore raw

Re: [PATCH 3/3] Check num sacks in SACK fast path

In reply to a message not in the archive

From: Baruch Even <[email protected]>
Date: Fri, 02 Feb 2007 16:41:27 +0200

Quoted 6 lines

We clear the unused parts of the SACK cache, This prevents us from mistakenly taking the cache data if the old data in the SACK cache is the same as the data in the SACK block. This assumes that we never receive an empty SACK block with start and end both at zero.

I've applied this one too, thanks a lot.