]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Create probe timer for tcp PMTU as per RFC4821
authorFan Du <fan.du@intel.com>
Fri, 6 Mar 2015 03:18:24 +0000 (11:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 19:57:42 +0000 (14:57 -0500)
commite310122afc003e55ff3c69bca8e35e5cc1854339
tree33c79cec0d026feb0435042794ca4c4ef9e556ce
parent043aaca9934f13d9ebbecb22fe5c3c280f24f69a
ipv4: Create probe timer for tcp PMTU as per RFC4821

As per RFC4821 7.3.  Selecting Probe Size, a probe timer should
be armed once probing has converged. Once this timer expired,
probing again to take advantage of any path PMTU change. The
recommended probing interval is 10 minutes per RFC1981. Probing
interval could be sysctled by sysctl_tcp_probe_interval.

Eric Dumazet suggested to implement pseudo timer based on 32bits
jiffies tcp_time_stamp instead of using classic timer for such
rare event.

Signed-off-by: Fan Du <fan.du@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_connection_sock.h
include/net/netns/ipv4.h
include/net/tcp.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_output.c
net/ipv4/tcp_timer.c