summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorIlpo Järvinen2009-02-28 05:44:28 +0100
committerDavid S. Miller2009-03-02 12:00:09 +0100
commit59a08cba6a604a265e45e9b970e372554cf46627 (patch)
tree044bc6b23d3bd6a786dafb763363fa1da89afa65 /net/ipv4/tcp_output.c
parenttcp: don't backtrack to sacked skbs (diff)
downloadkernel-qcow2-linux-59a08cba6a604a265e45e9b970e372554cf46627.tar.gz
kernel-qcow2-linux-59a08cba6a604a265e45e9b970e372554cf46627.tar.xz
kernel-qcow2-linux-59a08cba6a604a265e45e9b970e372554cf46627.zip
tcp: fix lost_cnt_hint miscounts
It is possible that lost_cnt_hint gets underflow in tcp_clean_rtx_queue because the cumulative ACK can cover the segment where lost_skb_hint points to only partially, which means that the hint is not cleared, opposite to what my (earlier) comment claimed. Also I don't agree what I ended up writing about non-trivial case there to be what I intented to say. It was not supposed to happen that the hint won't get cleared and we underflow in any scenario. In general, this is quite hard to trigger in practice. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions