commit | 8a3c3a972741dec77220a19642bd3331551ad2d9 | [log] [tgz] |
---|---|---|
author | Baruch Even <baruch@ev-en.org> | Sun Feb 04 23:37:41 2007 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Thu Feb 08 12:38:50 2007 -0800 |
tree | 067787f9faef7ada3d0096742f79a930ec808357 | |
parent | 6f74651ae626ec672028587bc700538076dfbefb [diff] |
[TCP]: Check num sacks in SACK fast path 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 <baruch@ev-en.org> Signed-off-by: David S. Miller <davem@davemloft.net>