]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitb76892051cf1c04d95872838e70146f65e3b9d75
tree475050b8e41eb317144465b1e2b9255fbad188b4
parentc96fd3d461fa495400df24be3b3b66f0e0b152f9
[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