]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Two fixes to new sacktag code
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 29 Nov 2007 13:59:07 +0000 (00:59 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:10 +0000 (14:55 -0800)
commit1c0524a1dd4e820260fa4a2aa5790acf7e8aa3ad
tree7b26858bfa3cfd4cccd7d667b55fefbf7208698a
parentb87c33de1569432bc8a448cde20663c7342f725b
[TCP]: Two fixes to new sacktag code

1) Skip condition used to be wrong way around which made SACK
processing very broken, missed many blocks because of that.

2) Use highest_sack advancement only if some skbs are already
sacked because otherwise tcp_write_queue_next may move things
too far (occurs mainly with GSO). The other similar advancement
is not problem because highest_sack was previosly put to point
a sacked skb.

These problems were located because of problem report from Matt
Mathis <mathis@psc.edu>.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c