diff options
author | Baruch Even <baruch@ev-en.org> | 2007-02-05 02:37:41 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-08 15:38:50 -0500 |
commit | 8a3c3a972741dec77220a19642bd3331551ad2d9 (patch) | |
tree | 067787f9faef7ada3d0096742f79a930ec808357 /net/ipv4/tcp_output.c | |
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>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions