Advance fast path pointer for first block only
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
David Miller
maintainerFrom: 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.
Signed-off-by Baruch Even <[email protected]>
Looks great, patch applied, thanks!
A message that is not in the archive (sent off-list or not yet received): [email protected]
David Miller
maintainerRe: [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.
Signed-off-by Baruch Even <[email protected]>
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]
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.
Signed-off-by Baruch Even <[email protected]>
I've applied this one too, thanks a lot.