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

A message that is not in the archive (sent off-list or not yet received): [email protected]

David Miller

author maintainer
#1 lore raw

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

Quoted 5 lines

Only advance the SACK fast-path pointer for the first block, the fast-path assumes that only the first block advances next time so we should not move the cached skb for the next sack blocks.

Looks great, patch applied, thanks!

A message that is not in the archive (sent off-list or not yet received): [email protected]

author maintainer
#3 lore raw

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

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.

A message that is not in the archive (sent off-list or not yet received): [email protected]

author maintainer Applied
#5 lore raw

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

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.