]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Namespecify TCP PMTU mechanism
authorFan Du <fan.du@intel.com>
Tue, 10 Feb 2015 01:53:16 +0000 (09:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Feb 2015 02:45:00 +0000 (18:45 -0800)
commit2f4e8116e8a5e51b7e8c6d04e07d4cf63c642543
tree219e761b507aa959e6fd38c79adf3f9bc4be4b4d
parent8620c2be92d09f9395301c9c75127672c1049f3a
ipv4: Namespecify TCP PMTU mechanism

Packetization Layer Path MTU Discovery works separately beside
Path MTU Discovery at IP level, different net namespace has
various requirements on which one to chose, e.g., a virutalized
container instance would require TCP PMTU to probe an usable
effective mtu for underlying tunnel, while the host would
employ classical ICMP based PMTU to function.

Hence making TCP PMTU mechanism per net namespace to decouple
two functionality. Furthermore the probe base MSS should also
be configured separately for each namespace.

Signed-off-by: Fan Du <fan.du@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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