diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-01-30 20:06:02 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 19:27:22 -0800 |
commit | ad1984e844fb6edaa8b9984be23669f4e19168be (patch) | |
tree | 9f31eed6ad22ce54c3cef701854d3568d4eb8fa3 /net/ipv6/xfrm6_policy.c | |
parent | 23fe18669e7fdaf5b229747858d943a723124e2e (diff) | |
download | op-kernel-dev-ad1984e844fb6edaa8b9984be23669f4e19168be.zip op-kernel-dev-ad1984e844fb6edaa8b9984be23669f4e19168be.tar.gz |
[TCP]: NewReno must count every skb while marking losses
NewReno should add cnt per skb (as with FACK) instead of depending on
SACKED_ACKED bits which won't be set with it at all. Effectively,
NewReno should always exists after the first iteration anyway (or
immediately if there's already head in lost_out.
This was fixed earlier in net-2.6.25 but got reverted among other
stuff and I didn't notice that this is still necessary (actually
wasn't even considering this case while trying to figure out the
reports because I lived with different kind of code than it in reality
was).
This should solve the WARN_ONs in TCP code that as a result of this
triggered multiple times in every place we check for this invariant.
Special thanks to Dave Young <hidave.darkstar@gmail.com> and Krishna
Kumar2 <krkumar2@in.ibm.com> for trying with my debug patches.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tested-by: Dave Young <hidave.darkstar@gmail.com>
Tested-by: Krishna Kumar2 <krkumar2@in.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
0 files changed, 0 insertions, 0 deletions