This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new b06deeb58 Added ECN configuration copying from the host to the 
container.
b06deeb58 is described below

commit b06deeb58838991cce5035cdafabef8a9c6591b5
Author: Ilya Pronin <[email protected]>
AuthorDate: Mon Dec 11 15:05:31 2017 -0800

    Added ECN configuration copying from the host to the container.
    
    The kernel uses default values for these options inside a network
    namespace. They need to be set inside the container to match those on
    the host.
    
    Review: https://reviewboard.twitter.biz/r/927534
---
 src/slave/containerizer/mesos/isolators/network/port_mapping.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/slave/containerizer/mesos/isolators/network/port_mapping.cpp 
b/src/slave/containerizer/mesos/isolators/network/port_mapping.cpp
index 6f6fa656f..925c2d099 100644
--- a/src/slave/containerizer/mesos/isolators/network/port_mapping.cpp
+++ b/src/slave/containerizer/mesos/isolators/network/port_mapping.cpp
@@ -2116,6 +2116,8 @@ Try<Isolator*> PortMappingIsolatorProcess::create(const 
Flags& flags)
   // configurations inside a container. Therefore, we need to set them
   // in the container to match that on the host.
   procs.insert("/proc/sys/net/core/somaxconn");
+  procs.insert("/proc/sys/net/ipv4/tcp_ecn");
+  procs.insert("/proc/sys/net/ipv4/tcp_ecn_fallback");
 
   // As of kernel 3.10, the following configurations are shared
   // between host and containers, and therefore are not required to be

Reply via email to