linux/net
Damian Lukowski f1ecd5d9e7 Revert Backoff [v3]: Revert RTO on ICMP destination unreachable
Here, an ICMP host/network unreachable message, whose payload fits to
TCP's SND.UNA, is taken as an indication that the RTO retransmission has
not been lost due to congestion, but because of a route failure
somewhere along the path.
With true congestion, a router won't trigger such a message and the
patched TCP will operate as standard TCP.

This patch reverts one RTO backoff, if an ICMP host/network unreachable
message, whose payload fits to TCP's SND.UNA, arrives.
Based on the new RTO, the retransmission timer is reset to reflect the
remaining time, or - if the revert clocked out the timer - a retransmission
is sent out immediately.
Backoffs are only reverted, if TCP is in RTO loss recovery, i.e. if
there have been retransmissions and reversible backoffs, already.

Changes from v2:
1) Renaming of skb in tcp_v4_err() moved to another patch.
2) Reintroduced tcp_bound_rto() and __tcp_set_rto().
3) Fixed code comments.

Signed-off-by: Damian Lukowski <damian@tvk.rwth-aachen.de>
Acked-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-01 02:45:42 -07:00
..
9p
802
8021q vlan: Add support for net_devices_ops.ndo_fcoe_enable/_disable to VLAN 2009-09-01 01:24:23 -07:00
appletalk Use correct NET_RX_* returns for atalk_rcv() 2009-08-12 20:44:50 -07:00
atm convert ATM drivers to netdev_tx_t 2009-09-01 01:13:10 -07:00
ax25
bluetooth netdev: convert pseudo-devices to netdev_tx_t 2009-09-01 01:13:07 -07:00
bridge netdev: convert pseudo-devices to netdev_tx_t 2009-09-01 01:13:07 -07:00
can can: use correct NET_RX_ return values 2009-08-30 22:13:18 -07:00
core netdev: convert pseudo-devices to netdev_tx_t 2009-09-01 01:13:07 -07:00
dcb dcbnl: Add implementations of dcbnl setapp/getapp commands 2009-09-01 01:24:36 -07:00
dccp Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-08-12 17:44:53 -07:00
decnet
dsa netdev: convert pseudo-devices to netdev_tx_t 2009-09-01 01:13:07 -07:00
econet Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-08-12 17:44:53 -07:00
ethernet
ieee802154 Drop ARPHRD_IEEE802154_PHY 2009-08-19 23:08:24 +04:00
ipv4 Revert Backoff [v3]: Revert RTO on ICMP destination unreachable 2009-09-01 02:45:42 -07:00
ipv6 netdev: convert pseudo-devices to netdev_tx_t 2009-09-01 01:13:07 -07:00
ipx
irda irda: convert to netdev_tx_t 2009-09-01 01:13:38 -07:00
iucv
key
lapb
llc
mac80211 wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
netfilter
netlabel
netlink
netrom convert hamradio drivers to netdev_txreturnt_t 2009-09-01 01:13:12 -07:00
packet
phonet netdev: convert pseudo drivers to netdev_tx_t 2009-09-01 01:13:40 -07:00
rds RDS: Add a debug message suggesting to load transport modules 2009-08-23 19:13:14 -07:00
rfkill
rose convert hamradio drivers to netdev_txreturnt_t 2009-09-01 01:13:12 -07:00
rxrpc
sched netdev: convert pseudo-devices to netdev_tx_t 2009-09-01 01:13:07 -07:00
sctp Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-08-12 17:44:53 -07:00
sunrpc
tipc tipc: fix test of bearer_priority range in tipc_register_media() 2009-08-29 00:19:42 -07:00
unix
wanrouter
wimax
wireless nl80211: jump to out_err upon unsupported iftype 2009-08-28 14:40:41 -04:00
x25
xfrm Fix xfrm hash collisions by changing __xfrm4_daddr_saddr_hash to hash addresses with addition 2009-08-09 21:45:31 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE