]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Avoid clearing sacktag hint in trivial situations
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 20 Sep 2007 18:37:19 +0000 (11:37 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:12 +0000 (16:52 -0700)
commitfe827c884ec608689995cfaca2534cf4952764ac
tree475050b8e41eb317144465b1e2b9255fbad188b4
parent6b2946e051eb8fe4e3e93784f72a22f926cd08a8
[TCP]: Avoid clearing sacktag hint in trivial situations

There's no reason to clear the sacktag skb hint when small part
of the rexmit queue changes. Account changes (if any) instead when
fragmenting/collapsing. RTO/FRTO do not touch SACKED_ACKED bits so
no need to discard SACK tag hint at all.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c